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.001849/0.001849, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 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.00229/0.00229, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.491/1.491, allocations: 177.1 MB / 203.1 MB, free: 5.301 MB / 186.7 MB " [Timeout remaining time 178] 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.002633/0.002633, allocations: 242.4 kB / 259.8 MB, free: 12.68 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 1.08/1.08, allocations: 138.5 MB / 454.7 MB, free: 1.473 MB / 362.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.222e-06/1.222e-06, allocations: 0 / 0.5543 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.38e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.006415/0.006438, allocations: 3.73 MB / 0.5579 GB, free: 13.13 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003316/0.009754, allocations: 1.69 MB / 0.5596 GB, free: 11.43 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002146/0.009969, allocations: 11.94 kB / 0.5596 GB, free: 11.42 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001564/0.01153, allocations: 489.9 kB / 0.5601 GB, free: 10.94 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006258/0.01216, allocations: 234.6 kB / 0.5603 GB, free: 10.71 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005791/0.01274, allocations: 207.3 kB / 0.5605 GB, free: 10.5 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006922/0.01343, allocations: 494.2 kB / 0.561 GB, free: 10.02 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000586/0.01402, allocations: 293.4 kB / 0.5612 GB, free: 9.734 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004429/0.01446, allocations: 275.4 kB / 0.5615 GB, free: 9.465 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004554/0.01491, allocations: 195.5 kB / 0.5617 GB, free: 9.273 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.252e-05/0.01498, allocations: 28 kB / 0.5617 GB, free: 9.246 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004315/0.01541, allocations: 219.3 kB / 0.5619 GB, free: 9.031 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.01558, allocations: 135.6 kB / 0.5621 GB, free: 8.898 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.01578, allocations: 123.7 kB / 0.5622 GB, free: 8.777 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007857/0.01656, allocations: 0.514 MB / 0.5627 GB, free: 8.262 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.01657, allocations: 0 / 0.5627 GB, free: 8.262 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.01657, allocations: 0 / 0.5627 GB, free: 8.262 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.01658, allocations: 4 kB / 0.5627 GB, free: 8.258 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.001302/0.01788, allocations: 0.5596 MB / 0.5632 GB, free: 7.668 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.01792, allocations: 8.75 kB / 0.5632 GB, free: 7.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.01902, allocations: 212.3 kB / 0.5634 GB, free: 7.453 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004449/0.01947, allocations: 241.1 kB / 0.5637 GB, free: 7.191 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/0.0195, allocations: 25.02 kB / 0.5637 GB, free: 7.168 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.632e-05/0.01955, allocations: 28.38 kB / 0.5637 GB, free: 7.141 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008934/0.02045, allocations: 0.5787 MB / 0.5643 GB, free: 6.492 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.02046, allocations: 4.125 kB / 0.5643 GB, free: 6.488 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.175e-05/0.0205, allocations: 12.38 kB / 0.5643 GB, free: 6.477 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.27e-05/0.02057, allocations: 40.56 kB / 0.5643 GB, free: 6.434 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005891/0.02116, allocations: 318.3 kB / 0.5646 GB, free: 6.125 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.02338, allocations: 1.513 MB / 0.5661 GB, free: 4.543 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003824/0.02376, allocations: 162.7 kB / 0.5663 GB, free: 4.375 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/0.02404, allocations: 100.8 kB / 0.5664 GB, free: 4.273 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.02405, allocations: 0 / 0.5664 GB, free: 4.273 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.223e-05/0.0241, allocations: 38.5 kB / 0.5664 GB, free: 4.227 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.0241, allocations: 0 / 0.5664 GB, free: 4.227 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006496/0.02475, allocations: 234.4 kB / 0.5666 GB, free: 3.992 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.0248, allocations: 51.41 kB / 0.5667 GB, free: 3.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.02508, allocations: 234.3 kB / 0.5669 GB, free: 3.695 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.02511, allocations: 29.7 kB / 0.5669 GB, free: 3.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.02528, allocations: 212.2 kB / 0.5671 GB, free: 3.449 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.25e-05/0.02533, allocations: 51.59 kB / 0.5672 GB, free: 3.398 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.099e-05/0.02542, allocations: 45.89 kB / 0.5672 GB, free: 3.344 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.02561, allocations: 326.8 kB / 0.5675 GB, free: 3.016 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.02573, allocations: 60.44 kB / 0.5676 GB, free: 2.957 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.02594, allocations: 144 kB / 0.5677 GB, free: 2.777 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/0.02629, allocations: 229.9 kB / 0.568 GB, free: 2.516 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.02629, allocations: 0 / 0.568 GB, free: 2.516 MB / 490.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005219/0.02681, allocations: 274.1 kB / 0.5682 GB, free: 2.238 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.02683, allocations: 4 kB / 0.5682 GB, free: 2.234 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.02683, allocations: 4 kB / 0.5682 GB, free: 2.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002596/0.02709, allocations: 45.14 kB / 0.5683 GB, free: 2.184 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.0273, allocations: 47.92 kB / 0.5683 GB, free: 2.137 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.02864, allocations: 1.292 MB / 0.5696 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/0.02891, allocations: 31.77 kB / 0.5696 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.02893, allocations: 16.16 kB / 0.5696 GB, free: 0.6953 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 0.0001888/0.02912, allocations: 165.8 kB / 0.5698 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.102e-05/0.02918, allocations: 27.86 kB / 0.5698 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.254e-05/0.02923, allocations: 21.47 kB / 0.5698 GB, free: 480 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.02924, allocations: 3.938 kB / 0.5698 GB, free: 476 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.02924, allocations: 4 kB / 0.5698 GB, free: 472 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.02925, allocations: 3.984 kB / 0.5698 GB, free: 468 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009672/0.03022, allocations: 0.5505 MB / 0.5704 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.03022, allocations: 4 kB / 0.5704 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.547e-05/0.03032, allocations: 23.94 kB / 0.5704 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001842/0.0305, allocations: 32.83 kB / 0.5704 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.03052, allocations: 8 kB / 0.5704 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.03173, allocations: 1.299 MB / 0.5717 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.03174, allocations: 0 / 0.5717 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004192/0.03216, allocations: 317.2 kB / 0.572 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.966e-05/0.03224, allocations: 35.78 kB / 0.5721 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.03228, allocations: 0 / 0.5721 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.03247, allocations: 20.14 kB / 0.5721 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.03251, allocations: 15.92 kB / 0.5721 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.03252, allocations: 8 kB / 0.5721 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001713/0.03269, allocations: 157.8 kB / 0.5722 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.03269, allocations: 4 kB / 0.5722 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004238/0.03312, allocations: 79.78 kB / 0.5723 GB, free: 13.72 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 0.0001336/0.03325, allocations: 103.2 kB / 0.5724 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004992/0.03375, allocations: 262.3 kB / 0.5727 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.03376, allocations: 11.92 kB / 0.5727 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002445/0.034, allocations: 174.7 kB / 0.5728 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004723/0.03447, allocations: 69.72 kB / 0.5729 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.03549, allocations: 0.5406 MB / 0.5734 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.03573, allocations: 182.1 kB / 0.5736 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001371/0.03587, allocations: 45.89 kB / 0.5737 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.522e-05/0.03593, allocations: 20.5 kB / 0.5737 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of SimCode: time 3.61e-07/0.03593, allocations: 0 / 0.5737 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of Templates: time 0.006659/0.04258, allocations: 2.453 MB / 0.5761 GB, free: 9.84 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.605303319985978]