Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008998/0.0008998, allocations: 81.86 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009075/0.0009075, allocations: 169.7 kB / 23.28 MB, free: 1.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9835/0.9835, allocations: 177.1 MB / 203.7 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001657/0.001657, allocations: 246.2 kB / 260.5 MB, free: 12.65 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6962/0.6962, allocations: 138.4 MB / 455.5 MB, free: 30.09 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor") translateModel(BuildingSystems.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.5555 GB, free: 15.94 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.695e-05/1.839e-05, allocations: 2.312 kB / 0.5555 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.003368/0.003387, allocations: 2.956 MB / 0.5584 GB, free: 12.96 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.004872, allocations: 1.098 MB / 0.5595 GB, free: 11.86 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.005007, allocations: 11.94 kB / 0.5595 GB, free: 11.84 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000425/0.005432, allocations: 123.3 kB / 0.5596 GB, free: 11.72 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003118/0.005743, allocations: 190.8 kB / 0.5598 GB, free: 11.54 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.006018, allocations: 155.6 kB / 0.56 GB, free: 11.38 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004052/0.006424, allocations: 498.2 kB / 0.5604 GB, free: 10.89 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003522/0.006776, allocations: 289.4 kB / 0.5607 GB, free: 10.61 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002359/0.007012, allocations: 279.3 kB / 0.561 GB, free: 10.34 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002924/0.007304, allocations: 199.5 kB / 0.5612 GB, free: 10.14 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.603e-05/0.00734, allocations: 28 kB / 0.5612 GB, free: 10.12 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.007499, allocations: 103.7 kB / 0.5613 GB, free: 10.02 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.629e-05/0.007595, allocations: 143.6 kB / 0.5614 GB, free: 9.875 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.896e-05/0.007684, allocations: 119.7 kB / 0.5616 GB, free: 9.758 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003199/0.008004, allocations: 322.9 kB / 0.5619 GB, free: 9.441 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.008006, allocations: 4 kB / 0.5619 GB, free: 9.438 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.008007, allocations: 3.938 kB / 0.5619 GB, free: 9.434 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.008011, allocations: 0 / 0.5619 GB, free: 9.434 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0006075/0.008619, allocations: 0.6479 MB / 0.5625 GB, free: 8.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.008658, allocations: 13.94 kB / 0.5625 GB, free: 8.738 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005087/0.009167, allocations: 176.4 kB / 0.5627 GB, free: 8.566 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.009402, allocations: 228.8 kB / 0.5629 GB, free: 8.316 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.009419, allocations: 21.03 kB / 0.5629 GB, free: 8.297 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.009449, allocations: 32.36 kB / 0.5629 GB, free: 8.266 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003167/0.009766, allocations: 440.9 kB / 0.5634 GB, free: 7.758 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.009779, allocations: 8.125 kB / 0.5634 GB, free: 7.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.009801, allocations: 20.38 kB / 0.5634 GB, free: 7.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.404e-05/0.009835, allocations: 28.58 kB / 0.5634 GB, free: 7.703 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.009966, allocations: 112.4 kB / 0.5635 GB, free: 7.59 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.01137, allocations: 1.857 MB / 0.5653 GB, free: 5.656 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.01153, allocations: 103.2 kB / 0.5654 GB, free: 5.543 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.681e-05/0.01163, allocations: 75.55 kB / 0.5655 GB, free: 5.465 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.01164, allocations: 4 kB / 0.5655 GB, free: 5.461 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.01166, allocations: 41.39 kB / 0.5656 GB, free: 5.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.01166, allocations: 4 kB / 0.5656 GB, free: 5.406 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002777/0.01194, allocations: 152.4 kB / 0.5657 GB, free: 5.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.164e-05/0.01196, allocations: 51.41 kB / 0.5658 GB, free: 5.188 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.0121, allocations: 272.8 kB / 0.566 GB, free: 4.906 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.01212, allocations: 33.7 kB / 0.566 GB, free: 4.867 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.01222, allocations: 258.9 kB / 0.5663 GB, free: 4.605 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.01224, allocations: 55.52 kB / 0.5663 GB, free: 4.551 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-05/0.0123, allocations: 55.53 kB / 0.5664 GB, free: 4.484 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.01241, allocations: 0.5079 MB / 0.5669 GB, free: 3.965 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.745e-05/0.01244, allocations: 16.45 kB / 0.5669 GB, free: 3.949 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.292e-05/0.01252, allocations: 150.6 kB / 0.5671 GB, free: 3.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.01265, allocations: 187.3 kB / 0.5672 GB, free: 3.516 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01265, allocations: 0 / 0.5672 GB, free: 3.516 MB / 490.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002069/0.01286, allocations: 197.2 kB / 0.5674 GB, free: 3.312 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.01287, allocations: 8.031 kB / 0.5674 GB, free: 3.305 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.01288, allocations: 4 kB / 0.5674 GB, free: 3.301 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001387/0.01301, allocations: 39.59 kB / 0.5675 GB, free: 3.258 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.795e-05/0.01311, allocations: 51.91 kB / 0.5675 GB, free: 3.207 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006945/0.01381, allocations: 1.721 MB / 0.5692 GB, free: 1.371 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.961e-05/0.01389, allocations: 23.84 kB / 0.5692 GB, free: 1.348 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.0139, allocations: 12 kB / 0.5692 GB, free: 1.336 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.551e-05/0.01398, allocations: 172.5 kB / 0.5694 GB, free: 1.156 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.01401, allocations: 27.86 kB / 0.5694 GB, free: 1.129 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.048e-05/0.01403, allocations: 25.45 kB / 0.5695 GB, free: 1.105 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.01403, allocations: 0 / 0.5695 GB, free: 1.105 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.01403, allocations: 4.094 kB / 0.5695 GB, free: 1.102 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.01404, allocations: 7.938 kB / 0.5695 GB, free: 1.094 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004562/0.01449, allocations: 0.5573 MB / 0.57 GB, free: 476 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.0145, allocations: 0 / 0.57 GB, free: 476 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.287e-05/0.01454, allocations: 27.92 kB / 0.57 GB, free: 448 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.678e-05/0.01463, allocations: 31.86 kB / 0.5701 GB, free: 412 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.01463, allocations: 8 kB / 0.5701 GB, free: 404 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008745/0.01551, allocations: 1.721 MB / 0.5718 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01551, allocations: 3.938 kB / 0.5718 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.0157, allocations: 333.6 kB / 0.5721 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.01574, allocations: 35.78 kB / 0.5721 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.01575, allocations: 7.984 kB / 0.5721 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.623e-05/0.01583, allocations: 15.94 kB / 0.5721 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.898e-05/0.01585, allocations: 15.91 kB / 0.5721 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.01586, allocations: 8 kB / 0.5722 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.912e-05/0.01592, allocations: 181.7 kB / 0.5723 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01593, allocations: 0 / 0.5723 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002462/0.01617, allocations: 83.84 kB / 0.5724 GB, free: 13.84 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.443e-05/0.01626, allocations: 103.2 kB / 0.5725 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000233/0.01649, allocations: 276.7 kB / 0.5728 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.01649, allocations: 0.75 kB / 0.5728 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.0166, allocations: 221.6 kB / 0.573 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.01688, allocations: 55.69 kB / 0.573 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007601/0.01764, allocations: 0.5364 MB / 0.5736 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.832e-05/0.01771, allocations: 108.3 kB / 0.5737 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.788e-05/0.01778, allocations: 17.95 kB / 0.5737 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.01788, allocations: 122.2 kB / 0.5738 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of SimCode: time 6.61e-07/0.01788, allocations: 0 / 0.5738 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of Templates: time 0.004416/0.0223, allocations: 2.648 MB / 0.5764 GB, free: 9.715 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.432103286962956]