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.001471/0.001471, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001159/0.001159, allocations: 177 kB / 23.49 MB, free: 1.059 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.9583/0.9583, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.001758/0.001758, allocations: 234 kB / 260.5 MB, free: 12.88 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.7147/0.7147, allocations: 138.4 MB / 455.4 MB, free: 29.98 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 3.317e-06/3.317e-06, allocations: 7.938 kB / 0.555 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.85e-05, allocations: 2.312 kB / 0.555 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.006398/0.006426, allocations: 3.944 MB / 0.5588 GB, free: 12.55 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002964/0.00939, allocations: 1.745 MB / 0.5605 GB, free: 10.79 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001957/0.009586, allocations: 11.94 kB / 0.5606 GB, free: 10.78 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004183/0.01377, allocations: 0.498 MB / 0.561 GB, free: 10.28 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000477/0.01425, allocations: 234.6 kB / 0.5613 GB, free: 10.05 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004116/0.01466, allocations: 211.3 kB / 0.5615 GB, free: 9.844 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004266/0.01508, allocations: 494.2 kB / 0.5619 GB, free: 9.359 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004114/0.0155, allocations: 285.4 kB / 0.5622 GB, free: 9.082 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002198/0.01572, allocations: 279.3 kB / 0.5625 GB, free: 8.809 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.01601, allocations: 203.4 kB / 0.5627 GB, free: 8.609 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.654e-05/0.01604, allocations: 28 kB / 0.5627 GB, free: 8.582 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002437/0.01629, allocations: 227.3 kB / 0.5629 GB, free: 8.359 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.798e-05/0.01639, allocations: 135.6 kB / 0.563 GB, free: 8.227 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.768e-05/0.01648, allocations: 119.7 kB / 0.5632 GB, free: 8.109 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004032/0.01689, allocations: 398.7 kB / 0.5635 GB, free: 7.719 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.01689, allocations: 0 / 0.5635 GB, free: 7.719 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01689, allocations: 0 / 0.5635 GB, free: 7.719 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.0169, allocations: 3.938 kB / 0.5635 GB, free: 7.715 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.0007023/0.0176, allocations: 0.6712 MB / 0.5642 GB, free: 7.008 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.01764, allocations: 9.938 kB / 0.5642 GB, free: 7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006373/0.01828, allocations: 196.4 kB / 0.5644 GB, free: 6.809 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.01854, allocations: 244.8 kB / 0.5646 GB, free: 6.543 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.01856, allocations: 28.95 kB / 0.5647 GB, free: 6.516 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.01859, allocations: 28.38 kB / 0.5647 GB, free: 6.488 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000379/0.01897, allocations: 460.9 kB / 0.5651 GB, free: 5.961 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.01898, allocations: 192 / 0.5651 GB, free: 5.961 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/0.01901, allocations: 16.31 kB / 0.5651 GB, free: 5.945 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-05/0.01905, allocations: 32.58 kB / 0.5652 GB, free: 5.914 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001971/0.01924, allocations: 139.7 kB / 0.5653 GB, free: 5.777 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.02042, allocations: 1.919 MB / 0.5672 GB, free: 3.773 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.02062, allocations: 107.2 kB / 0.5673 GB, free: 3.656 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.02075, allocations: 75.64 kB / 0.5674 GB, free: 3.578 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.02076, allocations: 4 kB / 0.5674 GB, free: 3.574 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.02079, allocations: 41.33 kB / 0.5674 GB, free: 3.523 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 1.492e-06/0.02079, allocations: 0 / 0.5674 GB, free: 3.523 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003386/0.02113, allocations: 160.5 kB / 0.5676 GB, free: 3.359 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.02115, allocations: 55.41 kB / 0.5676 GB, free: 3.293 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.02131, allocations: 276.9 kB / 0.5679 GB, free: 3.008 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.02132, allocations: 29.7 kB / 0.5679 GB, free: 2.973 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.471e-05/0.02142, allocations: 262.9 kB / 0.5681 GB, free: 2.707 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.02145, allocations: 51.53 kB / 0.5682 GB, free: 2.656 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.186e-05/0.0215, allocations: 59.55 kB / 0.5683 GB, free: 2.586 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.0216, allocations: 0.4962 MB / 0.5687 GB, free: 2.078 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.264e-05/0.02165, allocations: 24.45 kB / 0.5688 GB, free: 2.055 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.975e-05/0.02174, allocations: 152.8 kB / 0.5689 GB, free: 1.852 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.02188, allocations: 187.8 kB / 0.5691 GB, free: 1.613 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.02188, allocations: 0 / 0.5691 GB, free: 1.613 MB / 490.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002347/0.02212, allocations: 216.8 kB / 0.5693 GB, free: 1.391 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.02213, allocations: 8 kB / 0.5693 GB, free: 1.383 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.02214, allocations: 4 kB / 0.5693 GB, free: 1.379 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001693/0.02231, allocations: 39.94 kB / 0.5693 GB, free: 1.336 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.02242, allocations: 51.97 kB / 0.5694 GB, free: 1.285 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007636/0.02318, allocations: 1.755 MB / 0.5711 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.985e-05/0.02326, allocations: 19.84 kB / 0.5711 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.02327, allocations: 12 kB / 0.5711 GB, free: 15.38 MB / 0.4948 GB 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.886e-05/0.02336, allocations: 176.6 kB / 0.5713 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.02339, allocations: 23.86 kB / 0.5713 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/0.02341, allocations: 29.45 kB / 0.5714 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.02342, allocations: 3.938 kB / 0.5714 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.02342, allocations: 0 / 0.5714 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.02342, allocations: 0 / 0.5714 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004865/0.02391, allocations: 0.5654 MB / 0.5719 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.02391, allocations: 192 / 0.5719 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.757e-05/0.02396, allocations: 31.92 kB / 0.5719 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.343e-05/0.02405, allocations: 31.66 kB / 0.572 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.02406, allocations: 8 kB / 0.572 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006315/0.02469, allocations: 1.74 MB / 0.5737 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.02469, allocations: 4 kB / 0.5737 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.0249, allocations: 341.5 kB / 0.574 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.02494, allocations: 39.72 kB / 0.574 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.02495, allocations: 4 kB / 0.574 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.041e-05/0.02503, allocations: 11.98 kB / 0.5741 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.02506, allocations: 19.91 kB / 0.5741 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.02507, allocations: 12.06 kB / 0.5741 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.143e-05/0.02516, allocations: 185.8 kB / 0.5743 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.02516, allocations: 0 / 0.5743 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002387/0.0254, allocations: 79.78 kB / 0.5743 GB, free: 11.83 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 9.301e-05/0.02549, allocations: 103.2 kB / 0.5744 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002959/0.02579, allocations: 286.1 kB / 0.5747 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.02579, allocations: 4 kB / 0.5747 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.02592, allocations: 217.5 kB / 0.5749 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.02621, allocations: 65.11 kB / 0.575 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007834/0.02699, allocations: 0.5397 MB / 0.5755 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.197e-05/0.02705, allocations: 108.3 kB / 0.5756 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.916e-05/0.02713, allocations: 33.92 kB / 0.5757 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.02717, allocations: 20.5 kB / 0.5757 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of SimCode: time 9.42e-07/0.02717, allocations: 3.938 kB / 0.5757 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of Templates: time 0.004151/0.03132, allocations: 2.483 MB / 0.5781 GB, free: 7.934 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.6432188579346985]