Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.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.00149/0.00149, allocations: 77.95 kB / 20.66 MB, free: 3.832 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.001819/0.001819, allocations: 169 kB / 24.05 MB, free: 452 kB / 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.9597/0.9597, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.001597/0.001597, allocations: 233.5 kB / 261.3 MB, free: 12.66 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.7903/0.7903, allocations: 138.4 MB / 456.3 MB, free: 1.379 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.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.5564 GB, free: 224 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.485e-05, allocations: 2.312 kB / 0.5564 GB, free: 220 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.002927/0.002952, allocations: 1.495 MB / 0.5578 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002984/0.00325, allocations: 88.59 kB / 0.5579 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.602e-05/0.003296, allocations: 4 kB / 0.5579 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.245e-05/0.003329, allocations: 7.875 kB / 0.5579 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.879e-05/0.003388, allocations: 3.984 kB / 0.5579 GB, free: 14.6 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.003591, allocations: 11.98 kB / 0.5579 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.502e-05/0.003676, allocations: 23.92 kB / 0.558 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.376e-05/0.00377, allocations: 11.92 kB / 0.558 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.759e-05/0.003837, allocations: 15.88 kB / 0.558 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.226e-05/0.00388, allocations: 11.98 kB / 0.558 GB, free: 14.53 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.003897, allocations: 4 kB / 0.558 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.614e-05/0.003963, allocations: 15.98 kB / 0.558 GB, free: 14.51 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.00398, allocations: 4 kB / 0.558 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.099e-05/0.004001, allocations: 15.92 kB / 0.558 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.004116, allocations: 27.95 kB / 0.5581 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.004118, allocations: 0 / 0.5581 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.00412, allocations: 0 / 0.5581 GB, free: 14.46 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.004123, allocations: 0 / 0.5581 GB, free: 14.46 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000385/0.004508, allocations: 360.6 kB / 0.5584 GB, free: 14.07 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.004553, allocations: 12.75 kB / 0.5584 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001682/0.004721, allocations: 16.86 kB / 0.5584 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.004821, allocations: 120.6 kB / 0.5586 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.004836, allocations: 384 / 0.5586 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/0.004844, allocations: 4.375 kB / 0.5586 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.004969, allocations: 54.94 kB / 0.5586 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.004977, allocations: 192 / 0.5586 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.004985, allocations: 4.312 kB / 0.5586 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.00499, allocations: 384 / 0.5586 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.426e-05/0.005024, allocations: 11.92 kB / 0.5586 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002841/0.005308, allocations: 232.5 kB / 0.5589 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.352e-05/0.005382, allocations: 39.03 kB / 0.5589 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.95e-05/0.005401, allocations: 11.69 kB / 0.5589 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.005414, allocations: 4.062 kB / 0.5589 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.005439, allocations: 37.33 kB / 0.5589 GB, free: 13.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.00544, allocations: 3.938 kB / 0.5589 GB, free: 13.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001645/0.005605, allocations: 49.58 kB / 0.559 GB, free: 13.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.005638, allocations: 55.41 kB / 0.559 GB, free: 13.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.203e-05/0.00572, allocations: 157.9 kB / 0.5592 GB, free: 13.15 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.005733, allocations: 25.7 kB / 0.5592 GB, free: 13.12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.005786, allocations: 134.9 kB / 0.5593 GB, free: 12.98 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.005805, allocations: 8.078 kB / 0.5594 GB, free: 12.97 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.005843, allocations: 23.38 kB / 0.5594 GB, free: 12.94 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.005977, allocations: 496.1 kB / 0.5599 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.764e-05/0.005995, allocations: 0 / 0.5599 GB, free: 12.45 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.657e-05/0.006011, allocations: 7.938 kB / 0.5599 GB, free: 12.44 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.533e-05/0.006047, allocations: 15.67 kB / 0.5599 GB, free: 12.42 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.006049, allocations: 0 / 0.5599 GB, free: 12.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.178e-05/0.00613, allocations: 37.7 kB / 0.5599 GB, free: 12.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.006144, allocations: 8 kB / 0.5599 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.00615, allocations: 3.984 kB / 0.5599 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.006161, allocations: 8.031 kB / 0.5599 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.457e-05/0.006236, allocations: 4 kB / 0.5599 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.006241, allocations: 7.984 kB / 0.5599 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.927e-05/0.00627, allocations: 0 / 0.5599 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.006277, allocations: 3.984 kB / 0.5599 GB, free: 12.34 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.011e-05/0.006357, allocations: 160.5 kB / 0.5601 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.006384, allocations: 4.203 kB / 0.5601 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/0.006411, allocations: 7.625 kB / 0.5601 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.006414, allocations: 3.938 kB / 0.5601 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.006418, allocations: 8 kB / 0.5601 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.006422, allocations: 0 / 0.5601 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.006561, allocations: 101.2 kB / 0.5602 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.006563, allocations: 0 / 0.5602 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.557e-05/0.006608, allocations: 8 kB / 0.5602 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.006611, allocations: 0 / 0.5602 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.006616, allocations: 0 / 0.5602 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.006618, allocations: 0 / 0.5602 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.00662, allocations: 3.984 kB / 0.5602 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.006751, allocations: 183.9 kB / 0.5604 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.648e-06/0.00676, allocations: 4.031 kB / 0.5604 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.006774, allocations: 15.94 kB / 0.5604 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.318e-05/0.006837, allocations: 3.984 kB / 0.5604 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.006869, allocations: 11.92 kB / 0.5604 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.006874, allocations: 3.938 kB / 0.5604 GB, free: 11.78 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.711e-05/0.006921, allocations: 131.2 kB / 0.5606 GB, free: 11.65 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006922, allocations: 0 / 0.5606 GB, free: 11.65 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002465/0.007168, allocations: 4 kB / 0.5606 GB, free: 11.64 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.093e-05/0.007259, allocations: 91.25 kB / 0.5607 GB, free: 11.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.551e-05/0.007344, allocations: 19.69 kB / 0.5607 GB, free: 11.52 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.007347, allocations: 0 / 0.5607 GB, free: 11.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.796e-05/0.007375, allocations: 19.67 kB / 0.5607 GB, free: 11.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.007646, allocations: 4 kB / 0.5607 GB, free: 11.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002692/0.007915, allocations: 121.4 kB / 0.5608 GB, free: 11.35 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.043e-05/0.007956, allocations: 59.28 kB / 0.5609 GB, free: 11.27 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.844e-05/0.007984, allocations: 8.125 kB / 0.5609 GB, free: 11.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.603e-05/0.00804, allocations: 66.2 kB / 0.5609 GB, free: 11.2 MB / 490.7 MB Notification: Performance of SimCode: time 8.01e-07/0.008041, allocations: 0 / 0.5609 GB, free: 11.2 MB / 490.7 MB Notification: Performance of Templates: time 0.002736/0.01078, allocations: 0.7348 MB / 0.5617 GB, free: 10.47 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.562398907262832]