Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.0009468/0.0009468, 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.001012/0.001012, allocations: 173 kB / 23.03 MB, free: 1.547 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.9843/0.9843, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.00176/0.00176, allocations: 233.1 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.7078/0.7078, allocations: 138.4 MB / 455.2 MB, free: 29.91 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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.5552 GB, free: 56 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.909e-05/3.069e-05, allocations: 7.188 kB / 0.5552 GB, free: 52 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001259/0.00129, allocations: 0.6049 MB / 0.5558 GB, free: 15.44 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002379/0.001528, allocations: 91.72 kB / 0.5558 GB, free: 15.35 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.789e-05/0.001545, allocations: 0 / 0.5558 GB, free: 15.35 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.213e-05/0.001568, allocations: 3.938 kB / 0.5558 GB, free: 15.35 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.587e-05/0.001613, allocations: 0 / 0.5558 GB, free: 15.35 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.001821, allocations: 15.98 kB / 0.5559 GB, free: 15.33 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.089e-05/0.001872, allocations: 7.938 kB / 0.5559 GB, free: 15.32 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.371e-05/0.001906, allocations: 0 / 0.5559 GB, free: 15.32 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.136e-05/0.001937, allocations: 8 kB / 0.5559 GB, free: 15.32 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.015e-05/0.002007, allocations: 11.97 kB / 0.5559 GB, free: 15.3 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.002023, allocations: 0 / 0.5559 GB, free: 15.3 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.525e-05/0.002079, allocations: 11.98 kB / 0.5559 GB, free: 15.29 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.002091, allocations: 0 / 0.5559 GB, free: 15.29 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.563e-05/0.002107, allocations: 7.938 kB / 0.5559 GB, free: 15.29 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.491e-05/0.002192, allocations: 11.98 kB / 0.5559 GB, free: 15.27 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.002194, allocations: 0 / 0.5559 GB, free: 15.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.002195, allocations: 0 / 0.5559 GB, free: 15.27 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.002199, allocations: 0 / 0.5559 GB, free: 15.27 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.0003069/0.002506, allocations: 348.4 kB / 0.5562 GB, free: 14.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.002545, allocations: 13.94 kB / 0.5563 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.002677, allocations: 12.92 kB / 0.5563 GB, free: 14.87 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.06e-05/0.002738, allocations: 104.6 kB / 0.5564 GB, free: 14.74 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.002757, allocations: 384 / 0.5564 GB, free: 14.74 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.002766, allocations: 12.31 kB / 0.5564 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.002881, allocations: 46.95 kB / 0.5564 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.002888, allocations: 192 / 0.5564 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.002897, allocations: 384 / 0.5564 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.002905, allocations: 384 / 0.5564 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.351e-05/0.002938, allocations: 15.86 kB / 0.5564 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001143/0.003053, allocations: 116.6 kB / 0.5566 GB, free: 14.51 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.779e-05/0.00315, allocations: 47.08 kB / 0.5566 GB, free: 14.45 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.278e-05/0.003173, allocations: 15.75 kB / 0.5566 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.003185, allocations: 0 / 0.5566 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.003206, allocations: 37.39 kB / 0.5567 GB, free: 14.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.003207, allocations: 0 / 0.5567 GB, free: 14.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.00015/0.003357, allocations: 53.62 kB / 0.5567 GB, free: 14.33 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.003389, allocations: 51.41 kB / 0.5568 GB, free: 14.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.608e-05/0.003435, allocations: 142.2 kB / 0.5569 GB, free: 14.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.003447, allocations: 25.7 kB / 0.5569 GB, free: 14.08 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.883e-05/0.003476, allocations: 134.9 kB / 0.557 GB, free: 13.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.003511, allocations: 24.17 kB / 0.5571 GB, free: 13.92 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.003538, allocations: 15.38 kB / 0.5571 GB, free: 13.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.003646, allocations: 0.4922 MB / 0.5576 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.901e-05/0.003665, allocations: 0 / 0.5576 GB, free: 13.39 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.298e-05/0.003678, allocations: 7.984 kB / 0.5576 GB, free: 13.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.192e-05/0.00372, allocations: 19.69 kB / 0.5576 GB, free: 13.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.003722, allocations: 0 / 0.5576 GB, free: 13.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.826e-05/0.00378, allocations: 45.62 kB / 0.5576 GB, free: 13.31 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.003791, allocations: 4 kB / 0.5576 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.003796, allocations: 0 / 0.5576 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.003809, allocations: 4 kB / 0.5576 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.00398, allocations: 19.98 kB / 0.5577 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008039/0.004784, allocations: 1.806 MB / 0.5594 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.463e-05/0.004799, allocations: 8.125 kB / 0.5594 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.004803, allocations: 0 / 0.5594 GB, free: 11.36 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.158e-05/0.004864, allocations: 156.6 kB / 0.5596 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.328e-06/0.004874, allocations: 7.938 kB / 0.5596 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.494e-06/0.004881, allocations: 3.531 kB / 0.5596 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.004883, allocations: 0 / 0.5596 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.32e-07/0.004884, allocations: 3.938 kB / 0.5596 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.004887, allocations: 0 / 0.5596 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.99e-05/0.004947, allocations: 116.6 kB / 0.5597 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.004948, allocations: 0 / 0.5597 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.005062, allocations: 31.97 kB / 0.5597 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.005064, allocations: 0 / 0.5597 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.005072, allocations: 3.938 kB / 0.5597 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006767/0.005749, allocations: 1.805 MB / 0.5615 GB, free: 9.066 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.005752, allocations: 4 kB / 0.5615 GB, free: 9.062 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.298e-05/0.005815, allocations: 84.31 kB / 0.5616 GB, free: 8.957 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.735e-06/0.005818, allocations: 4 kB / 0.5616 GB, free: 8.953 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-06/0.005821, allocations: 0 / 0.5616 GB, free: 8.953 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.109e-05/0.005832, allocations: 4.047 kB / 0.5616 GB, free: 8.949 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.005853, allocations: 7.969 kB / 0.5616 GB, free: 8.941 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.005855, allocations: 0 / 0.5616 GB, free: 8.941 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.981e-05/0.005885, allocations: 119.2 kB / 0.5617 GB, free: 8.824 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005885, allocations: 0 / 0.5617 GB, free: 8.824 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001236/0.006009, allocations: 12.06 kB / 0.5617 GB, free: 8.812 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.843e-05/0.006087, allocations: 95.25 kB / 0.5618 GB, free: 8.711 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001873/0.006275, allocations: 47.55 kB / 0.5619 GB, free: 8.66 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.006276, allocations: 0 / 0.5619 GB, free: 8.66 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.896e-05/0.006375, allocations: 39.94 kB / 0.5619 GB, free: 8.617 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.766e-05/0.006473, allocations: 7.938 kB / 0.5619 GB, free: 8.609 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002284/0.006701, allocations: 92.77 kB / 0.562 GB, free: 8.492 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.004e-05/0.006731, allocations: 51.36 kB / 0.562 GB, free: 8.422 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.167e-05/0.006753, allocations: 7.953 kB / 0.5621 GB, free: 8.414 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/0.006783, allocations: 16.48 kB / 0.5621 GB, free: 8.395 MB / 490.7 MB Notification: Performance of SimCode: time 1.062e-06/0.006784, allocations: 0 / 0.5621 GB, free: 8.395 MB / 490.7 MB Notification: Performance of Templates: time 0.002119/0.008903, allocations: 0.4927 MB / 0.5625 GB, free: 7.914 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6889019780792296]