Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.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.0008931/0.0008931, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009362/0.0009362, allocations: 173 kB / 23.36 MB, free: 1.133 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.8959/0.8959, allocations: 177.1 MB / 203.8 MB, free: 5.504 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.001629/0.001629, allocations: 259 kB / 260.5 MB, free: 12.71 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.717/0.717, allocations: 138.4 MB / 402.2 MB, free: 0.5312 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.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 462.3 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/2.084e-05, allocations: 2.312 kB / 462.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.RCModel): time 0.004033/0.004054, allocations: 3.306 MB / 465.6 MB, free: 14.8 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.006242, allocations: 1.247 MB / 466.8 MB, free: 13.97 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.006416, allocations: 14 kB / 466.8 MB, free: 13.97 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004652/0.006882, allocations: 137.2 kB / 467 MB, free: 13.89 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000436/0.007318, allocations: 235.2 kB / 467.2 MB, free: 13.73 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004253/0.007743, allocations: 205.2 kB / 467.4 MB, free: 13.54 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005914/0.008334, allocations: 0.6305 MB / 468 MB, free: 12.9 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003567/0.008691, allocations: 356.3 kB / 468.4 MB, free: 12.57 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003039/0.008995, allocations: 343.2 kB / 468.7 MB, free: 12.23 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003259/0.009321, allocations: 237.8 kB / 469 MB, free: 12 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.038e-05/0.009361, allocations: 40 kB / 469 MB, free: 11.96 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001735/0.009535, allocations: 103.7 kB / 469.1 MB, free: 11.86 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.009647, allocations: 173.1 kB / 469.3 MB, free: 11.69 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.009763, allocations: 159.6 kB / 469.4 MB, free: 11.54 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003804/0.01014, allocations: 398.7 kB / 469.8 MB, free: 11.14 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.01015, allocations: 0 / 469.8 MB, free: 11.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.01015, allocations: 2.125 kB / 469.8 MB, free: 11.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.01015, allocations: 0 / 469.8 MB, free: 11.14 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0006592/0.01081, allocations: 0.6163 MB / 470.4 MB, free: 10.51 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.01084, allocations: 13.31 kB / 470.4 MB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005339/0.01137, allocations: 191.3 kB / 470.6 MB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.01162, allocations: 262 kB / 470.9 MB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.01165, allocations: 33.81 kB / 470.9 MB, free: 10 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.368e-05/0.01169, allocations: 33.19 kB / 471 MB, free: 9.973 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.01205, allocations: 493.8 kB / 471.4 MB, free: 9.426 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.01207, allocations: 8.766 kB / 471.4 MB, free: 9.418 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.01209, allocations: 18.39 kB / 471.5 MB, free: 9.402 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/0.01213, allocations: 33.67 kB / 471.5 MB, free: 9.367 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.01226, allocations: 115.3 kB / 471.6 MB, free: 9.262 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.01343, allocations: 1.431 MB / 473 MB, free: 7.789 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.01367, allocations: 157.9 kB / 473.2 MB, free: 7.625 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.727e-05/0.01371, allocations: 38.8 kB / 473.2 MB, free: 7.586 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.01372, allocations: 5 kB / 473.2 MB, free: 7.582 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.01375, allocations: 34.56 kB / 473.3 MB, free: 7.539 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 1.913e-06/0.01375, allocations: 1.812 kB / 473.3 MB, free: 7.539 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004902/0.01424, allocations: 267 kB / 473.5 MB, free: 7.273 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.01427, allocations: 67.27 kB / 473.6 MB, free: 7.195 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.01441, allocations: 248.9 kB / 473.8 MB, free: 6.945 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.01443, allocations: 29.7 kB / 473.9 MB, free: 6.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.794e-05/0.01452, allocations: 224 kB / 474.1 MB, free: 6.684 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.01455, allocations: 71.41 kB / 474.2 MB, free: 6.613 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.086e-05/0.01461, allocations: 62.25 kB / 474.2 MB, free: 6.547 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.986e-05/0.0147, allocations: 341 kB / 474.5 MB, free: 6.207 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.597e-05/0.01474, allocations: 23.98 kB / 474.6 MB, free: 6.184 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.752e-05/0.01482, allocations: 104.7 kB / 474.7 MB, free: 6.047 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.01496, allocations: 177.2 kB / 474.8 MB, free: 5.844 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01496, allocations: 0 / 474.8 MB, free: 5.844 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002506/0.01521, allocations: 220.4 kB / 475.1 MB, free: 5.621 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.01523, allocations: 4.906 kB / 475.1 MB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.01523, allocations: 4 kB / 475.1 MB, free: 5.613 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002196/0.01545, allocations: 83.19 kB / 475.2 MB, free: 5.531 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.01559, allocations: 59.91 kB / 475.2 MB, free: 5.473 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/0.01671, allocations: 2.419 MB / 477.6 MB, free: 2.863 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.01683, allocations: 35.72 kB / 477.7 MB, free: 2.828 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.01684, allocations: 10.31 kB / 477.7 MB, free: 2.82 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.557e-05/0.01694, allocations: 130.1 kB / 477.8 MB, free: 2.684 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.01697, allocations: 26.45 kB / 477.8 MB, free: 2.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.341e-05/0.017, allocations: 38.11 kB / 477.9 MB, free: 2.621 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.017, allocations: 3.938 kB / 477.9 MB, free: 2.617 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.01701, allocations: 6.781 kB / 477.9 MB, free: 2.613 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.01701, allocations: 3.984 kB / 477.9 MB, free: 2.609 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.01719, allocations: 173.6 kB / 478 MB, free: 2.422 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.0172, allocations: 0 / 478 MB, free: 2.422 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.979e-05/0.01729, allocations: 31.92 kB / 478.1 MB, free: 2.391 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001679/0.01745, allocations: 73.2 kB / 478.2 MB, free: 2.316 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.01746, allocations: 0 / 478.2 MB, free: 2.316 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.01851, allocations: 2.415 MB / 480.6 MB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01851, allocations: 1.531 kB / 480.6 MB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.01876, allocations: 279.8 kB / 480.8 MB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.01882, allocations: 39.78 kB / 480.9 MB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.01884, allocations: 9.25 kB / 480.9 MB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.9e-05/0.01891, allocations: 7.938 kB / 480.9 MB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.01895, allocations: 21.41 kB / 480.9 MB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.01895, allocations: 0.875 kB / 480.9 MB, free: 15.35 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.47e-05/0.01902, allocations: 86.77 kB / 481 MB, free: 15.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01902, allocations: 0 / 481 MB, free: 15.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002809/0.0193, allocations: 108.7 kB / 481.1 MB, free: 15.16 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001025/0.0194, allocations: 85.3 kB / 481.2 MB, free: 15.07 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003373/0.01974, allocations: 368.1 kB / 481.6 MB, free: 14.69 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/0.01975, allocations: 4 kB / 481.6 MB, free: 14.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.0199, allocations: 286.6 kB / 481.8 MB, free: 14.38 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.02015, allocations: 64.11 kB / 481.9 MB, free: 14.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009337/0.02108, allocations: 0.6506 MB / 482.6 MB, free: 13.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.194e-05/0.02117, allocations: 130.9 kB / 482.7 MB, free: 13.52 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.02127, allocations: 36.5 kB / 482.7 MB, free: 13.49 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.02141, allocations: 116.5 kB / 482.8 MB, free: 13.38 MB / 442.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02141, allocations: 0 / 482.8 MB, free: 13.38 MB / 442.7 MB Notification: Performance of Templates: time 0.006101/0.02751, allocations: 4.09 MB / 486.9 MB, free: 9.57 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.467296155169606]