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.001389/0.001389, allocations: 84.73 kB / 19.44 MB, free: 356 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.001587/0.001587, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.449/1.449, allocations: 177.1 MB / 203.1 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] 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.002601/0.002601, allocations: 230.4 kB / 259.8 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 1.091/1.091, allocations: 138.4 MB / 454.7 MB, free: 1.496 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.422e-06/1.422e-06, allocations: 0 / 0.5544 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.213e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001618/0.00164, allocations: 0.5926 MB / 0.555 GB, free: 216 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002666/0.001906, allocations: 83.75 kB / 0.555 GB, free: 132 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.39e-05/0.00192, allocations: 7.938 kB / 0.5551 GB, free: 124 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.058e-05/0.001931, allocations: 0 / 0.5551 GB, free: 124 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 4.242e-05/0.001973, allocations: 0 / 0.5551 GB, free: 124 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.002173, allocations: 19.91 kB / 0.5551 GB, free: 104 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 4.073e-05/0.002214, allocations: 4 kB / 0.5551 GB, free: 100 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.319e-05/0.002247, allocations: 4 kB / 0.5551 GB, free: 96 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.817e-05/0.002275, allocations: 4 kB / 0.5551 GB, free: 92 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.052e-05/0.002346, allocations: 7.984 kB / 0.5551 GB, free: 84 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.002358, allocations: 3.938 kB / 0.5551 GB, free: 80 kB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.706e-05/0.002415, allocations: 11.98 kB / 0.5551 GB, free: 68 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.002428, allocations: 7.984 kB / 0.5551 GB, free: 60 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.854e-05/0.002447, allocations: 4 kB / 0.5551 GB, free: 56 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 7.994e-05/0.002527, allocations: 15.92 kB / 0.5551 GB, free: 40 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.002528, allocations: 0 / 0.5551 GB, free: 40 kB / 474.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.002529, allocations: 0 / 0.5551 GB, free: 40 kB / 474.7 MB Notification: Performance of Transformations before backend: time 2.945e-06/0.002532, allocations: 0 / 0.5551 GB, free: 40 kB / 474.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.0003496/0.002881, allocations: 246.4 kB / 0.5554 GB, free: 15.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.002917, allocations: 8.75 kB / 0.5554 GB, free: 15.76 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/0.003102, allocations: 16.88 kB / 0.5554 GB, free: 15.74 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.15e-05/0.003194, allocations: 105.8 kB / 0.5555 GB, free: 15.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.00321, allocations: 384 / 0.5555 GB, free: 15.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.003224, allocations: 8.375 kB / 0.5555 GB, free: 15.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.003341, allocations: 38.23 kB / 0.5555 GB, free: 15.56 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.003348, allocations: 192 / 0.5555 GB, free: 15.56 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.003356, allocations: 384 / 0.5555 GB, free: 15.56 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.003362, allocations: 4.359 kB / 0.5555 GB, free: 15.56 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.605e-05/0.003458, allocations: 23.86 kB / 0.5556 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.003596, allocations: 97.33 kB / 0.5557 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.003781, allocations: 46.59 kB / 0.5557 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.629e-05/0.003828, allocations: 8.922 kB / 0.5557 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.003845, allocations: 4 kB / 0.5557 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.003886, allocations: 30.56 kB / 0.5557 GB, free: 15.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.003887, allocations: 0 / 0.5557 GB, free: 15.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002292/0.004117, allocations: 61.61 kB / 0.5558 GB, free: 15.23 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.004162, allocations: 51.41 kB / 0.5559 GB, free: 15.17 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.693e-05/0.004219, allocations: 89.86 kB / 0.5559 GB, free: 15.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.004239, allocations: 25.7 kB / 0.556 GB, free: 15.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.725e-05/0.004286, allocations: 88.14 kB / 0.556 GB, free: 14.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.004313, allocations: 7.891 kB / 0.5561 GB, free: 14.95 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.026e-05/0.004353, allocations: 21.7 kB / 0.5561 GB, free: 14.92 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.004528, allocations: 314.8 kB / 0.5564 GB, free: 14.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.198e-05/0.00457, allocations: 4 kB / 0.5564 GB, free: 14.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.717e-05/0.004607, allocations: 11.98 kB / 0.5564 GB, free: 14.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.76e-05/0.004704, allocations: 24.78 kB / 0.5564 GB, free: 14.56 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.004708, allocations: 4 kB / 0.5564 GB, free: 14.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00014/0.004848, allocations: 53.69 kB / 0.5565 GB, free: 14.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.00486, allocations: 7.938 kB / 0.5565 GB, free: 14.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.004864, allocations: 0 / 0.5565 GB, free: 14.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.004877, allocations: 0 / 0.5565 GB, free: 14.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/0.005279, allocations: 43.92 kB / 0.5565 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/0.006848, allocations: 1.278 MB / 0.5578 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.537e-05/0.006883, allocations: 4 kB / 0.5578 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.006888, allocations: 4.156 kB / 0.5578 GB, free: 13.06 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 8.75e-05/0.006975, allocations: 109.9 kB / 0.5579 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.673e-05/0.006992, allocations: 11.88 kB / 0.5579 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.155e-05/0.007013, allocations: 11.52 kB / 0.5579 GB, free: 12.92 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.007015, allocations: 4 kB / 0.5579 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.32e-07/0.007016, allocations: 0 / 0.5579 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.007017, allocations: 0 / 0.5579 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.007123, allocations: 101.3 kB / 0.558 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.007124, allocations: 0 / 0.558 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003947/0.007519, allocations: 51.92 kB / 0.5581 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.007521, allocations: 0 / 0.5581 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.007529, allocations: 7.875 kB / 0.5581 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/0.009193, allocations: 1.282 MB / 0.5593 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.009194, allocations: 0 / 0.5593 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.009351, allocations: 81.02 kB / 0.5594 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-06/0.009355, allocations: 0 / 0.5594 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.331e-06/0.009361, allocations: 4.156 kB / 0.5594 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.126e-05/0.009392, allocations: 4 kB / 0.5594 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.12e-05/0.009413, allocations: 7.984 kB / 0.5594 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.009416, allocations: 0 / 0.5594 GB, free: 11.23 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.561e-05/0.009462, allocations: 79.28 kB / 0.5595 GB, free: 11.15 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009462, allocations: 0 / 0.5595 GB, free: 11.15 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002089/0.009671, allocations: 4 kB / 0.5595 GB, free: 11.15 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 0.000108/0.009779, allocations: 98.34 kB / 0.5596 GB, free: 11.05 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004859/0.01026, allocations: 67.84 kB / 0.5596 GB, free: 10.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.01027, allocations: 0 / 0.5596 GB, free: 10.98 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.01052, allocations: 36.23 kB / 0.5597 GB, free: 10.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.01067, allocations: 11.94 kB / 0.5597 GB, free: 10.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003038/0.01097, allocations: 98.98 kB / 0.5598 GB, free: 10.81 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.902e-05/0.01103, allocations: 59.36 kB / 0.5598 GB, free: 10.73 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.125e-05/0.01106, allocations: 8.219 kB / 0.5598 GB, free: 10.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.01109, allocations: 8.5 kB / 0.5599 GB, free: 10.72 MB / 490.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01109, allocations: 0 / 0.5599 GB, free: 10.72 MB / 490.7 MB Notification: Performance of Templates: time 0.002699/0.01379, allocations: 489.2 kB / 0.5603 GB, free: 10.25 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.402634728932753]