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.00125/0.00125, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001471/0.001471, allocations: 169 kB / 23.27 MB, free: 1.227 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.9544/0.9544, allocations: 177.1 MB / 203.7 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.001711/0.001711, allocations: 241.6 kB / 260.5 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.7482/0.7482, allocations: 138.4 MB / 455.5 MB, free: 29.98 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.352e-06/1.352e-06, allocations: 0 / 0.5556 GB, free: 15.8 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.012e-05, allocations: 6.312 kB / 0.5556 GB, free: 15.79 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001166/0.001186, allocations: 0.6038 MB / 0.5562 GB, free: 15.19 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002321/0.001418, allocations: 87.73 kB / 0.5563 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.896e-05/0.001437, allocations: 0 / 0.5563 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.627e-05/0.001454, allocations: 4 kB / 0.5563 GB, free: 15.1 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.457e-05/0.001498, allocations: 0 / 0.5563 GB, free: 15.1 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.00169, allocations: 23.84 kB / 0.5563 GB, free: 15.08 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.525e-05/0.001735, allocations: 15.97 kB / 0.5564 GB, free: 15.06 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.434e-05/0.00177, allocations: 3.938 kB / 0.5564 GB, free: 15.06 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.806e-05/0.001808, allocations: 4 kB / 0.5564 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.361e-05/0.001881, allocations: 0 / 0.5564 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.001895, allocations: 4 kB / 0.5564 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.797e-05/0.001953, allocations: 7.984 kB / 0.5564 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.001969, allocations: 11.98 kB / 0.5564 GB, free: 15.03 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.157e-05/0.001981, allocations: 4 kB / 0.5564 GB, free: 15.03 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.813e-05/0.002059, allocations: 11.97 kB / 0.5564 GB, free: 15.02 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.002061, allocations: 4 kB / 0.5564 GB, free: 15.01 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.002062, allocations: 0 / 0.5564 GB, free: 15.01 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.002066, allocations: 0 / 0.5564 GB, free: 15.01 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.0002686/0.002334, allocations: 344.4 kB / 0.5567 GB, free: 14.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.00237, allocations: 13.94 kB / 0.5567 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.002472, allocations: 8.922 kB / 0.5568 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.331e-05/0.002525, allocations: 104.6 kB / 0.5569 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.002541, allocations: 8.375 kB / 0.5569 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-06/0.002545, allocations: 4.375 kB / 0.5569 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.506e-05/0.00263, allocations: 54.89 kB / 0.5569 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.002637, allocations: 4.125 kB / 0.5569 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5e-06/0.002642, allocations: 384 / 0.5569 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.002646, allocations: 384 / 0.5569 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.142e-05/0.002667, allocations: 11.92 kB / 0.5569 GB, free: 14.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.653e-05/0.002754, allocations: 93.27 kB / 0.557 GB, free: 14.28 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.902e-05/0.002823, allocations: 39.11 kB / 0.5571 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.553e-05/0.002839, allocations: 15.67 kB / 0.5571 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.002853, allocations: 4.062 kB / 0.5571 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.002872, allocations: 41.33 kB / 0.5571 GB, free: 14.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 6.81e-07/0.002873, allocations: 0 / 0.5571 GB, free: 14.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001005/0.002973, allocations: 45.69 kB / 0.5572 GB, free: 14.11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.002998, allocations: 51.41 kB / 0.5572 GB, free: 14.04 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.433e-05/0.003032, allocations: 142.2 kB / 0.5573 GB, free: 13.89 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.128e-06/0.003041, allocations: 25.7 kB / 0.5574 GB, free: 13.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.848e-05/0.00307, allocations: 134.9 kB / 0.5575 GB, free: 13.72 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.003097, allocations: 12.19 kB / 0.5575 GB, free: 13.71 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/0.003124, allocations: 27.36 kB / 0.5575 GB, free: 13.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.003245, allocations: 496.1 kB / 0.558 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.003264, allocations: 8 kB / 0.558 GB, free: 13.17 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.885e-06/0.003272, allocations: 0 / 0.558 GB, free: 13.17 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.402e-05/0.003306, allocations: 27.88 kB / 0.558 GB, free: 13.14 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.003307, allocations: 0 / 0.558 GB, free: 13.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.125e-05/0.003359, allocations: 37.7 kB / 0.5581 GB, free: 13.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.00337, allocations: 8 kB / 0.5581 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.003375, allocations: 3.984 kB / 0.5581 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.003387, allocations: 0 / 0.5581 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.003524, allocations: 19.98 kB / 0.5581 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007875/0.004312, allocations: 1.783 MB / 0.5599 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.289e-05/0.004324, allocations: 0 / 0.5599 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-06/0.004328, allocations: 0 / 0.5599 GB, free: 11.18 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.596e-05/0.004394, allocations: 164.6 kB / 0.56 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.231e-06/0.0044, allocations: 8.109 kB / 0.56 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.885e-06/0.004408, allocations: 3.531 kB / 0.56 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.004412, allocations: 7.938 kB / 0.56 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-06/0.004413, allocations: 0 / 0.56 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.004415, allocations: 0 / 0.56 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.435e-05/0.00447, allocations: 101.1 kB / 0.5601 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.004473, allocations: 8 kB / 0.5601 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.004578, allocations: 27.97 kB / 0.5602 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.004579, allocations: 4 kB / 0.5602 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-06/0.004583, allocations: 0 / 0.5602 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007062/0.005289, allocations: 1.786 MB / 0.5619 GB, free: 8.922 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.00529, allocations: 0 / 0.5619 GB, free: 8.922 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.171e-05/0.005352, allocations: 76.44 kB / 0.562 GB, free: 8.824 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.066e-06/0.005355, allocations: 128 / 0.562 GB, free: 8.824 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.131e-06/0.005361, allocations: 11.92 kB / 0.562 GB, free: 8.812 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.121e-05/0.005372, allocations: 4 kB / 0.562 GB, free: 8.809 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.189e-05/0.005384, allocations: 0 / 0.562 GB, free: 8.809 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.005387, allocations: 0 / 0.562 GB, free: 8.809 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.083e-05/0.005418, allocations: 119.2 kB / 0.5621 GB, free: 8.691 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005418, allocations: 0 / 0.5621 GB, free: 8.691 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001287/0.005547, allocations: 8 kB / 0.5621 GB, free: 8.684 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 8.855e-05/0.005635, allocations: 99.19 kB / 0.5622 GB, free: 8.578 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001628/0.005798, allocations: 55.59 kB / 0.5623 GB, free: 8.52 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.0058, allocations: 0 / 0.5623 GB, free: 8.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.18e-05/0.005882, allocations: 27.95 kB / 0.5623 GB, free: 8.488 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.48e-05/0.005976, allocations: 4.766 kB / 0.5623 GB, free: 8.484 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000209/0.006185, allocations: 104.7 kB / 0.5624 GB, free: 8.355 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.968e-05/0.006215, allocations: 55.3 kB / 0.5625 GB, free: 8.281 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.989e-05/0.006235, allocations: 11.94 kB / 0.5625 GB, free: 8.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.814e-05/0.006273, allocations: 70.2 kB / 0.5625 GB, free: 8.199 MB / 490.7 MB Notification: Performance of SimCode: time 7.91e-07/0.006274, allocations: 0 / 0.5625 GB, free: 8.199 MB / 490.7 MB Notification: Performance of Templates: time 0.001917/0.008191, allocations: 0.5053 MB / 0.563 GB, free: 7.707 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.5241006249561906]