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.0009322/0.0009322, 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.0009282/0.0009282, 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.9591/0.9591, 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.001635/0.001635, allocations: 233.8 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.7882/0.7882, allocations: 138.4 MB / 455.2 MB, free: 1.555 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.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.382e-06/1.382e-06, allocations: 0 / 0.5552 GB, free: 488 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.473e-05, allocations: 2.312 kB / 0.5552 GB, free: 484 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001226/0.001251, allocations: 0.608 MB / 0.5558 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002434/0.001494, allocations: 95.62 kB / 0.5559 GB, free: 15.77 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.556e-05/0.001509, allocations: 0 / 0.5559 GB, free: 15.77 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.729e-05/0.001527, allocations: 3.938 kB / 0.5559 GB, free: 15.77 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.471e-05/0.001572, allocations: 4 kB / 0.5559 GB, free: 15.76 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.001782, allocations: 11.92 kB / 0.5559 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.857e-05/0.00183, allocations: 11.94 kB / 0.5559 GB, free: 15.74 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.74e-05/0.001868, allocations: 4 kB / 0.5559 GB, free: 15.73 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.043e-05/0.001898, allocations: 0 / 0.5559 GB, free: 15.73 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.194e-05/0.00197, allocations: 11.97 kB / 0.5559 GB, free: 15.72 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.001985, allocations: 0 / 0.5559 GB, free: 15.72 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.8e-05/0.002043, allocations: 15.98 kB / 0.5559 GB, free: 15.71 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.002056, allocations: 0 / 0.5559 GB, free: 15.71 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.525e-05/0.002071, allocations: 0 / 0.5559 GB, free: 15.71 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.244e-05/0.002163, allocations: 23.92 kB / 0.5559 GB, free: 15.68 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.002166, allocations: 0 / 0.5559 GB, free: 15.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.002167, allocations: 0 / 0.5559 GB, free: 15.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.002172, allocations: 0 / 0.5559 GB, free: 15.68 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.0002912/0.002463, allocations: 344.4 kB / 0.5563 GB, free: 15.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.0025, allocations: 8.75 kB / 0.5563 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.002627, allocations: 12.86 kB / 0.5563 GB, free: 15.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.415e-05/0.002681, allocations: 112.6 kB / 0.5564 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.002698, allocations: 384 / 0.5564 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.002707, allocations: 384 / 0.5564 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.002813, allocations: 50.95 kB / 0.5564 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.002822, allocations: 8.172 kB / 0.5565 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.002831, allocations: 384 / 0.5565 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.002838, allocations: 384 / 0.5565 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.41e-05/0.002872, allocations: 19.86 kB / 0.5565 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001133/0.002985, allocations: 112.9 kB / 0.5566 GB, free: 14.92 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.837e-05/0.003073, allocations: 43.16 kB / 0.5566 GB, free: 14.87 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.028e-05/0.003094, allocations: 7.688 kB / 0.5566 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.00311, allocations: 4 kB / 0.5566 GB, free: 14.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.00313, allocations: 33.39 kB / 0.5567 GB, free: 14.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.003131, allocations: 4 kB / 0.5567 GB, free: 14.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001276/0.003259, allocations: 49.62 kB / 0.5567 GB, free: 14.75 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.003285, allocations: 55.41 kB / 0.5568 GB, free: 14.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.828e-05/0.003323, allocations: 146.2 kB / 0.5569 GB, free: 14.53 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.003333, allocations: 25.7 kB / 0.5569 GB, free: 14.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.842e-05/0.003361, allocations: 126.9 kB / 0.5571 GB, free: 14.37 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.003392, allocations: 15.86 kB / 0.5571 GB, free: 14.35 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.00342, allocations: 23.38 kB / 0.5571 GB, free: 14.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.003527, allocations: 496.1 kB / 0.5576 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.654e-05/0.003544, allocations: 4 kB / 0.5576 GB, free: 13.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.032e-05/0.003554, allocations: 7.984 kB / 0.5576 GB, free: 13.81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.458e-05/0.003599, allocations: 19.69 kB / 0.5576 GB, free: 13.79 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.003602, allocations: 4 kB / 0.5576 GB, free: 13.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.205e-05/0.003664, allocations: 49.62 kB / 0.5576 GB, free: 13.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.003679, allocations: 10.97 kB / 0.5577 GB, free: 13.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.003683, allocations: 0 / 0.5577 GB, free: 13.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.003695, allocations: 0 / 0.5577 GB, free: 13.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.003857, allocations: 19.98 kB / 0.5577 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008229/0.00468, allocations: 1.806 MB / 0.5594 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.401e-05/0.004694, allocations: 0 / 0.5594 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.004699, allocations: 4 kB / 0.5594 GB, free: 11.78 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.394e-05/0.004763, allocations: 156.6 kB / 0.5596 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-06/0.00477, allocations: 7.875 kB / 0.5596 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.135e-05/0.004781, allocations: 11.66 kB / 0.5596 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.004782, allocations: 0 / 0.5596 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.22e-07/0.004783, allocations: 0 / 0.5596 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.004785, allocations: 0 / 0.5596 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.73e-05/0.004842, allocations: 120.6 kB / 0.5597 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.004844, allocations: 0 / 0.5597 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.00496, allocations: 27.97 kB / 0.5598 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.004962, allocations: 0 / 0.5598 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.004971, allocations: 7.938 kB / 0.5598 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006658/0.005637, allocations: 1.798 MB / 0.5615 GB, free: 9.488 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.005639, allocations: 3.984 kB / 0.5615 GB, free: 9.484 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.241e-05/0.005701, allocations: 88.27 kB / 0.5616 GB, free: 9.375 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.166e-06/0.005704, allocations: 4 kB / 0.5616 GB, free: 9.371 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.137e-06/0.005709, allocations: 0 / 0.5616 GB, free: 9.371 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.568e-06/0.005718, allocations: 4.125 kB / 0.5616 GB, free: 9.367 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.754e-05/0.005736, allocations: 7.984 kB / 0.5616 GB, free: 9.359 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.005738, allocations: 0 / 0.5616 GB, free: 9.359 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.901e-05/0.005767, allocations: 119.2 kB / 0.5617 GB, free: 9.242 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005767, allocations: 0 / 0.5617 GB, free: 9.242 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001333/0.0059, allocations: 8 kB / 0.5617 GB, free: 9.234 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.109e-05/0.005982, allocations: 95.25 kB / 0.5618 GB, free: 9.133 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001855/0.006167, allocations: 43.59 kB / 0.5619 GB, free: 9.086 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.006169, allocations: 0 / 0.5619 GB, free: 9.086 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.918e-05/0.006268, allocations: 39.94 kB / 0.5619 GB, free: 9.043 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.006419, allocations: 7.938 kB / 0.5619 GB, free: 9.035 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002777/0.006697, allocations: 104.7 kB / 0.562 GB, free: 8.906 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.368e-05/0.006731, allocations: 51.36 kB / 0.5621 GB, free: 8.836 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.573e-05/0.006757, allocations: 4 kB / 0.5621 GB, free: 8.832 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.006786, allocations: 16.48 kB / 0.5621 GB, free: 8.816 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/0.006787, allocations: 0 / 0.5621 GB, free: 8.816 MB / 490.7 MB Notification: Performance of Templates: time 0.002127/0.008915, allocations: 485.9 kB / 0.5625 GB, free: 8.355 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.7665527621284127]