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.0009321/0.0009321, 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.001096/0.001096, allocations: 169 kB / 23.27 MB, free: 1.223 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.9889/0.9889, allocations: 177.2 MB / 203.7 MB, free: 5.48 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.00162/0.00162, allocations: 233.6 kB / 260.5 MB, free: 12.64 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.8184/0.8184, 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.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 2.094e-06/2.094e-06, allocations: 0 / 0.5556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.751e-05/1.961e-05, allocations: 6.109 kB / 0.5556 GB, free: 15.83 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.002469/0.002489, allocations: 1.499 MB / 0.5571 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002655/0.002754, allocations: 88.59 kB / 0.5571 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.919e-05/0.002794, allocations: 0 / 0.5571 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.791e-05/0.002822, allocations: 0 / 0.5571 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.171e-05/0.002873, allocations: 7.875 kB / 0.5571 GB, free: 14.22 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.003066, allocations: 15.98 kB / 0.5572 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.272e-05/0.003139, allocations: 27.92 kB / 0.5572 GB, free: 14.18 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.478e-05/0.003224, allocations: 11.91 kB / 0.5572 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.371e-05/0.003288, allocations: 15.94 kB / 0.5572 GB, free: 14.15 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.341e-05/0.003331, allocations: 11.98 kB / 0.5572 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.003346, allocations: 0 / 0.5572 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.444e-05/0.00341, allocations: 11.98 kB / 0.5572 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.003427, allocations: 8 kB / 0.5572 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.902e-05/0.003446, allocations: 7.984 kB / 0.5572 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.003559, allocations: 35.83 kB / 0.5573 GB, free: 14.07 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.003561, allocations: 4 kB / 0.5573 GB, free: 14.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.003562, allocations: 0 / 0.5573 GB, free: 14.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.003566, allocations: 0 / 0.5573 GB, free: 14.07 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.0003571/0.003923, allocations: 360.6 kB / 0.5576 GB, free: 13.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.003967, allocations: 9.938 kB / 0.5576 GB, free: 13.67 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.00411, allocations: 16.92 kB / 0.5577 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.736e-05/0.004198, allocations: 120.5 kB / 0.5578 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.00421, allocations: 384 / 0.5578 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.382e-06/0.004217, allocations: 384 / 0.5578 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.004343, allocations: 54.94 kB / 0.5578 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.00435, allocations: 8.188 kB / 0.5578 GB, free: 13.44 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.004357, allocations: 384 / 0.5578 GB, free: 13.44 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.004363, allocations: 384 / 0.5578 GB, free: 13.44 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.094e-05/0.004394, allocations: 15.86 kB / 0.5578 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002786/0.004673, allocations: 236.5 kB / 0.5581 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.108e-05/0.004734, allocations: 31.06 kB / 0.5581 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.985e-05/0.004754, allocations: 11.75 kB / 0.5581 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.004769, allocations: 0 / 0.5581 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.004791, allocations: 33.39 kB / 0.5581 GB, free: 13.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.004791, allocations: 8 kB / 0.5582 GB, free: 13.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001493/0.004941, allocations: 53.52 kB / 0.5582 GB, free: 13 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.004972, allocations: 51.41 kB / 0.5583 GB, free: 12.94 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.519e-05/0.005058, allocations: 165.9 kB / 0.5584 GB, free: 12.76 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.00507, allocations: 29.64 kB / 0.5584 GB, free: 12.72 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.884e-05/0.005118, allocations: 126.9 kB / 0.5586 GB, free: 12.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.00514, allocations: 11.95 kB / 0.5586 GB, free: 12.58 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.263e-05/0.005183, allocations: 19.36 kB / 0.5586 GB, free: 12.55 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.005324, allocations: 0.4884 MB / 0.5591 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-05/0.005339, allocations: 0 / 0.5591 GB, free: 12.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.538e-05/0.005355, allocations: 8.125 kB / 0.5591 GB, free: 12.05 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.636e-05/0.005391, allocations: 15.62 kB / 0.5591 GB, free: 12.03 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.005393, allocations: 0 / 0.5591 GB, free: 12.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.621e-05/0.005469, allocations: 41.69 kB / 0.5591 GB, free: 11.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.005482, allocations: 4 kB / 0.5591 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.005486, allocations: 0 / 0.5591 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.005501, allocations: 7.938 kB / 0.5591 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.474e-05/0.005566, allocations: 4 kB / 0.5591 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.005569, allocations: 0 / 0.5591 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.979e-05/0.005599, allocations: 12.08 kB / 0.5592 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.005603, allocations: 0 / 0.5592 GB, free: 11.95 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 6.99e-05/0.005673, allocations: 152.6 kB / 0.5593 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.005697, allocations: 4 kB / 0.5593 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.599e-05/0.005723, allocations: 7.609 kB / 0.5593 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.005725, allocations: 3.938 kB / 0.5593 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.005727, allocations: 0 / 0.5593 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.005731, allocations: 4 kB / 0.5593 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.005857, allocations: 109.2 kB / 0.5594 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.005858, allocations: 256 / 0.5594 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.498e-05/0.005893, allocations: 12 kB / 0.5594 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.005896, allocations: 3.984 kB / 0.5594 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.005902, allocations: 4 kB / 0.5594 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.005903, allocations: 0 / 0.5594 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.005904, allocations: 0 / 0.5594 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.006025, allocations: 187.8 kB / 0.5596 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-06/0.006033, allocations: 8 kB / 0.5596 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.006043, allocations: 3.984 kB / 0.5596 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.334e-05/0.006107, allocations: 4 kB / 0.5596 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.502e-05/0.006132, allocations: 0 / 0.5596 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.006136, allocations: 7.969 kB / 0.5596 GB, free: 11.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.249e-05/0.006178, allocations: 131.1 kB / 0.5598 GB, free: 11.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006178, allocations: 0 / 0.5598 GB, free: 11.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002226/0.006401, allocations: 8 kB / 0.5598 GB, free: 11.26 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 8.109e-05/0.006482, allocations: 95.19 kB / 0.5599 GB, free: 11.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.194e-05/0.006554, allocations: 15.69 kB / 0.5599 GB, free: 11.14 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.006555, allocations: 0 / 0.5599 GB, free: 11.14 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.365e-05/0.006579, allocations: 19.67 kB / 0.5599 GB, free: 11.12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.006809, allocations: 8.125 kB / 0.5599 GB, free: 11.11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002569/0.007066, allocations: 121.4 kB / 0.56 GB, free: 10.96 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.012e-05/0.007106, allocations: 63.28 kB / 0.5601 GB, free: 10.88 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.116e-05/0.007128, allocations: 3.938 kB / 0.5601 GB, free: 10.88 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.503e-05/0.007183, allocations: 70.2 kB / 0.5602 GB, free: 10.81 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/0.007183, allocations: 0 / 0.5602 GB, free: 10.81 MB / 490.7 MB Notification: Performance of Templates: time 0.002497/0.00968, allocations: 0.7228 MB / 0.5609 GB, free: 10.1 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.6045802673324943]