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.001307/0.001307, allocations: 88.22 kB / 19.65 MB, free: 272 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.001432/0.001432, allocations: 173 kB / 23.02 MB, free: 1.543 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.9705/0.9705, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.001795/0.001795, allocations: 237.8 kB / 260.2 MB, free: 12.81 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.7574/0.7574, allocations: 138.4 MB / 455.2 MB, free: 30.04 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.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.874e-06/1.874e-06, allocations: 0 / 0.5551 GB, free: 172 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.614e-05, allocations: 2.312 kB / 0.5551 GB, free: 168 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.002028/0.002054, allocations: 1.5 MB / 0.5566 GB, free: 14.65 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002445/0.002298, allocations: 92.58 kB / 0.5567 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.405e-05/0.002332, allocations: 4 kB / 0.5567 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.97e-05/0.002362, allocations: 3.938 kB / 0.5567 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.478e-05/0.002407, allocations: 0 / 0.5567 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.002613, allocations: 23.91 kB / 0.5567 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.325e-05/0.002676, allocations: 23.92 kB / 0.5567 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.572e-05/0.002762, allocations: 4 kB / 0.5567 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.991e-05/0.002812, allocations: 19.91 kB / 0.5567 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.308e-05/0.002845, allocations: 8 kB / 0.5567 GB, free: 14.47 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.00286, allocations: 0 / 0.5567 GB, free: 14.47 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.814e-05/0.002928, allocations: 23.92 kB / 0.5568 GB, free: 14.45 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.002943, allocations: 7.984 kB / 0.5568 GB, free: 14.44 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.015e-05/0.002963, allocations: 7.938 kB / 0.5568 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.003066, allocations: 23.97 kB / 0.5568 GB, free: 14.41 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.003068, allocations: 4 kB / 0.5568 GB, free: 14.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.003069, allocations: 0 / 0.5568 GB, free: 14.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.003073, allocations: 0 / 0.5568 GB, free: 14.4 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.0003845/0.003457, allocations: 360.6 kB / 0.5571 GB, free: 14.01 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.003512, allocations: 13.92 kB / 0.5572 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.003676, allocations: 8.938 kB / 0.5572 GB, free: 13.99 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.758e-05/0.003773, allocations: 120.5 kB / 0.5573 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.003788, allocations: 4.375 kB / 0.5573 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.003801, allocations: 4.375 kB / 0.5573 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.003948, allocations: 62.88 kB / 0.5574 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.00396, allocations: 192 / 0.5574 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.00397, allocations: 384 / 0.5574 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.00398, allocations: 384 / 0.5574 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.93e-05/0.004019, allocations: 7.938 kB / 0.5574 GB, free: 13.76 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.004341, allocations: 255.8 kB / 0.5576 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.358e-05/0.004405, allocations: 46.92 kB / 0.5577 GB, free: 13.42 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.372e-05/0.004429, allocations: 11.75 kB / 0.5577 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.004444, allocations: 4 kB / 0.5577 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.004465, allocations: 37.38 kB / 0.5577 GB, free: 13.35 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.004466, allocations: 0 / 0.5577 GB, free: 13.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001486/0.004614, allocations: 49.59 kB / 0.5577 GB, free: 13.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.00464, allocations: 51.41 kB / 0.5578 GB, free: 13.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.29e-05/0.004712, allocations: 165.9 kB / 0.558 GB, free: 13.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.004722, allocations: 25.7 kB / 0.558 GB, free: 13.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.42e-05/0.004766, allocations: 134.9 kB / 0.5581 GB, free: 12.89 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.004782, allocations: 7.953 kB / 0.5581 GB, free: 12.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.469e-05/0.004807, allocations: 19.44 kB / 0.5581 GB, free: 12.85 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.004915, allocations: 0.4923 MB / 0.5586 GB, free: 12.35 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/0.004931, allocations: 0 / 0.5586 GB, free: 12.35 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.329e-05/0.004945, allocations: 4 kB / 0.5586 GB, free: 12.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.11e-05/0.004976, allocations: 15.67 kB / 0.5586 GB, free: 12.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.004977, allocations: 0 / 0.5586 GB, free: 12.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.618e-05/0.005033, allocations: 41.7 kB / 0.5587 GB, free: 12.28 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.005045, allocations: 4 kB / 0.5587 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.005051, allocations: 3.938 kB / 0.5587 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.005065, allocations: 0 / 0.5587 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.002e-05/0.005135, allocations: 16.02 kB / 0.5587 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.00514, allocations: 4 kB / 0.5587 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.016e-05/0.00516, allocations: 0 / 0.5587 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.005166, allocations: 4 kB / 0.5587 GB, free: 12.25 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.299e-05/0.005219, allocations: 152.6 kB / 0.5588 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.005235, allocations: 4 kB / 0.5589 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.174e-05/0.005266, allocations: 15.55 kB / 0.5589 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.005268, allocations: 0 / 0.5589 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.005271, allocations: 256 / 0.5589 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.005273, allocations: 0 / 0.5589 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.305e-05/0.005366, allocations: 128.6 kB / 0.559 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.005367, allocations: 0 / 0.559 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.308e-05/0.00539, allocations: 4 kB / 0.559 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.005391, allocations: 0 / 0.559 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.005397, allocations: 0 / 0.559 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.005398, allocations: 7.875 kB / 0.559 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.005399, allocations: 0 / 0.559 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.343e-05/0.005492, allocations: 199.8 kB / 0.5592 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-06/0.005498, allocations: 4 kB / 0.5592 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-06/0.005507, allocations: 0 / 0.5592 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.723e-05/0.005544, allocations: 15.95 kB / 0.5592 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.005577, allocations: 0 / 0.5592 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.005579, allocations: 0 / 0.5592 GB, free: 11.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.7e-05/0.005616, allocations: 131.2 kB / 0.5593 GB, free: 11.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005616, allocations: 0 / 0.5593 GB, free: 11.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001455/0.005762, allocations: 8 kB / 0.5593 GB, free: 11.53 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.648e-05/0.005828, allocations: 91.25 kB / 0.5594 GB, free: 11.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.26e-05/0.005911, allocations: 15.69 kB / 0.5594 GB, free: 11.41 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.005912, allocations: 0 / 0.5594 GB, free: 11.41 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.202e-05/0.005934, allocations: 19.69 kB / 0.5595 GB, free: 11.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.00611, allocations: 11.98 kB / 0.5595 GB, free: 11.38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.006411, allocations: 128.7 kB / 0.5596 GB, free: 11.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.233e-05/0.006453, allocations: 55.34 kB / 0.5597 GB, free: 11.15 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.126e-05/0.006474, allocations: 0 / 0.5597 GB, free: 11.15 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.878e-05/0.006513, allocations: 16.56 kB / 0.5597 GB, free: 11.13 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/0.006514, allocations: 0 / 0.5597 GB, free: 11.13 MB / 490.7 MB Notification: Performance of Templates: time 0.002135/0.008649, allocations: 0.6593 MB / 0.5603 GB, free: 10.48 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.9267753791064024]