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.001289/0.001289, allocations: 93.06 kB / 19.65 MB, free: 280 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.001158/0.001158, allocations: 169 kB / 23.02 MB, free: 1.551 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.9183/0.9183, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.001658/0.001658, allocations: 234.4 kB / 260.2 MB, free: 12.84 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.7318/0.7318, allocations: 138.4 MB / 455.2 MB, free: 1.531 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.242e-06/1.242e-06, allocations: 0 / 0.5551 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.227e-05/2.351e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.001863/0.001887, allocations: 1.498 MB / 0.5566 GB, free: 14.99 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002339/0.00212, allocations: 92.58 kB / 0.5567 GB, free: 14.9 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.701e-05/0.002147, allocations: 4 kB / 0.5567 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/0.002175, allocations: 3.938 kB / 0.5567 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.303e-05/0.002218, allocations: 3.984 kB / 0.5567 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.002413, allocations: 19.92 kB / 0.5567 GB, free: 14.87 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.372e-05/0.002477, allocations: 23.92 kB / 0.5567 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.895e-05/0.002556, allocations: 8 kB / 0.5567 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.868e-05/0.002605, allocations: 15.92 kB / 0.5568 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.961e-05/0.002634, allocations: 7.984 kB / 0.5568 GB, free: 14.81 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.002648, allocations: 0 / 0.5568 GB, free: 14.81 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.512e-05/0.002703, allocations: 23.92 kB / 0.5568 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.002716, allocations: 4 kB / 0.5568 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.979e-05/0.002736, allocations: 11.92 kB / 0.5568 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.64e-05/0.002832, allocations: 27.97 kB / 0.5568 GB, free: 14.75 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.002835, allocations: 3.984 kB / 0.5568 GB, free: 14.74 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.002836, allocations: 0 / 0.5568 GB, free: 14.74 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.00284, allocations: 0 / 0.5568 GB, free: 14.74 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.0003182/0.003158, allocations: 360.6 kB / 0.5572 GB, free: 14.35 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.003195, allocations: 8.75 kB / 0.5572 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.003334, allocations: 16.88 kB / 0.5572 GB, free: 14.33 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.291e-05/0.003417, allocations: 112.6 kB / 0.5573 GB, free: 14.19 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.003429, allocations: 8.312 kB / 0.5573 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.003437, allocations: 384 / 0.5573 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.003555, allocations: 58.94 kB / 0.5574 GB, free: 14.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.00356, allocations: 192 / 0.5574 GB, free: 14.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.003569, allocations: 384 / 0.5574 GB, free: 14.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.003576, allocations: 384 / 0.5574 GB, free: 14.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.691e-05/0.003613, allocations: 11.94 kB / 0.5574 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000276/0.003889, allocations: 255.7 kB / 0.5576 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.298e-05/0.003951, allocations: 42.97 kB / 0.5577 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.216e-05/0.003974, allocations: 15.75 kB / 0.5577 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.003984, allocations: 0 / 0.5577 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.004004, allocations: 37.39 kB / 0.5577 GB, free: 13.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.004004, allocations: 0 / 0.5577 GB, free: 13.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001387/0.004143, allocations: 49.58 kB / 0.5578 GB, free: 13.64 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.004171, allocations: 55.34 kB / 0.5578 GB, free: 13.58 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.004283, allocations: 165.9 kB / 0.558 GB, free: 13.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.004292, allocations: 25.7 kB / 0.558 GB, free: 13.37 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.579e-05/0.004338, allocations: 134.9 kB / 0.5581 GB, free: 13.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.004354, allocations: 3.953 kB / 0.5581 GB, free: 13.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.004381, allocations: 23.5 kB / 0.5582 GB, free: 13.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.506e-05/0.004476, allocations: 0.4884 MB / 0.5586 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.638e-05/0.004492, allocations: 0 / 0.5586 GB, free: 12.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.43e-05/0.004507, allocations: 4 kB / 0.5586 GB, free: 12.69 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.409e-05/0.004541, allocations: 15.69 kB / 0.5586 GB, free: 12.67 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.004543, allocations: 0 / 0.5586 GB, free: 12.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.947e-05/0.004602, allocations: 41.64 kB / 0.5587 GB, free: 12.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.004615, allocations: 7.984 kB / 0.5587 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.00462, allocations: 3.938 kB / 0.5587 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.004631, allocations: 4.094 kB / 0.5587 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.86e-05/0.0047, allocations: 8 kB / 0.5587 GB, free: 12.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.004704, allocations: 0 / 0.5587 GB, free: 12.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.139e-05/0.004726, allocations: 3.984 kB / 0.5587 GB, free: 12.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.00473, allocations: 4 kB / 0.5587 GB, free: 12.59 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 5.575e-05/0.004786, allocations: 156.6 kB / 0.5589 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.0048, allocations: 7.953 kB / 0.5589 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.573e-05/0.004826, allocations: 7.562 kB / 0.5589 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.004828, allocations: 0 / 0.5589 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.004831, allocations: 0 / 0.5589 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.004833, allocations: 4 kB / 0.5589 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.535e-05/0.004928, allocations: 124.9 kB / 0.559 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.004931, allocations: 7.984 kB / 0.559 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.534e-05/0.004957, allocations: 7.984 kB / 0.559 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.004959, allocations: 0 / 0.559 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.004965, allocations: 0 / 0.559 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.004967, allocations: 7.875 kB / 0.559 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.004968, allocations: 4 kB / 0.559 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.952e-05/0.005068, allocations: 187.9 kB / 0.5592 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-06/0.005076, allocations: 8 kB / 0.5592 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.005087, allocations: 4.031 kB / 0.5592 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.417e-05/0.005121, allocations: 7.938 kB / 0.5592 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.005157, allocations: 3.984 kB / 0.5592 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.005159, allocations: 0 / 0.5592 GB, free: 12 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.368e-05/0.005193, allocations: 127.2 kB / 0.5594 GB, free: 11.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005193, allocations: 0 / 0.5594 GB, free: 11.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001458/0.005339, allocations: 8 kB / 0.5594 GB, free: 11.87 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 6.672e-05/0.005405, allocations: 91.25 kB / 0.5594 GB, free: 11.77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.206e-05/0.005488, allocations: 27.67 kB / 0.5595 GB, free: 11.74 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.005489, allocations: 0 / 0.5595 GB, free: 11.74 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.127e-05/0.00551, allocations: 15.62 kB / 0.5595 GB, free: 11.72 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.00569, allocations: 4 kB / 0.5595 GB, free: 11.72 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.00598, allocations: 125.4 kB / 0.5596 GB, free: 11.57 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.942e-05/0.006019, allocations: 51.36 kB / 0.5597 GB, free: 11.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.216e-05/0.006041, allocations: 8.125 kB / 0.5597 GB, free: 11.49 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.006073, allocations: 8.5 kB / 0.5597 GB, free: 11.48 MB / 490.7 MB Notification: Performance of SimCode: time 7.71e-07/0.006074, allocations: 0 / 0.5597 GB, free: 11.48 MB / 490.7 MB Notification: Performance of Templates: time 0.002509/0.008583, allocations: 0.7089 MB / 0.5604 GB, free: 10.78 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.523356571793556]