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.001814/0.001814, allocations: 81.48 kB / 19.44 MB, free: 348 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.001995/0.001995, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.595/1.595, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.003235/0.003235, allocations: 233.8 kB / 259.8 MB, free: 12.86 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.192/1.192, allocations: 138.4 MB / 454.7 MB, free: 1.523 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 2.094e-06/2.094e-06, allocations: 0 / 0.5544 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.308e-05/3.518e-05, allocations: 5.406 kB / 0.5544 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002644/0.002679, allocations: 0.608 MB / 0.555 GB, free: 240 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003819/0.003061, allocations: 87.73 kB / 0.5551 GB, free: 152 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.121e-05/0.003082, allocations: 0 / 0.5551 GB, free: 152 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.389e-05/0.003096, allocations: 0 / 0.5551 GB, free: 152 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 6.068e-05/0.003157, allocations: 0 / 0.5551 GB, free: 152 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.003425, allocations: 19.86 kB / 0.5551 GB, free: 132 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 6.278e-05/0.003488, allocations: 11.98 kB / 0.5551 GB, free: 120 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.047e-05/0.003538, allocations: 4 kB / 0.5551 GB, free: 116 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.42e-05/0.003583, allocations: 3.938 kB / 0.5551 GB, free: 112 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.1e-05/0.003674, allocations: 7.984 kB / 0.5551 GB, free: 104 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.003701, allocations: 0 / 0.5551 GB, free: 104 kB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.552e-05/0.003786, allocations: 15.98 kB / 0.5551 GB, free: 88 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.003802, allocations: 0 / 0.5551 GB, free: 88 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.96e-05/0.003821, allocations: 0 / 0.5551 GB, free: 88 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.003952, allocations: 19.97 kB / 0.5551 GB, free: 68 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.003955, allocations: 0 / 0.5551 GB, free: 68 kB / 474.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.003956, allocations: 4 kB / 0.5551 GB, free: 64 kB / 474.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.003961, allocations: 0 / 0.5551 GB, free: 64 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.0005543/0.004515, allocations: 348.4 kB / 0.5555 GB, free: 15.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.004566, allocations: 8.75 kB / 0.5555 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002233/0.00479, allocations: 12.88 kB / 0.5555 GB, free: 15.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.004908, allocations: 108.6 kB / 0.5556 GB, free: 15.53 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.004928, allocations: 384 / 0.5556 GB, free: 15.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.004942, allocations: 4.312 kB / 0.5556 GB, free: 15.53 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.00508, allocations: 42.25 kB / 0.5556 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.005089, allocations: 192 / 0.5556 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.0051, allocations: 4.375 kB / 0.5556 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.005105, allocations: 384 / 0.5556 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.704e-05/0.005192, allocations: 15.92 kB / 0.5557 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/0.00539, allocations: 112.6 kB / 0.5558 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.005597, allocations: 51.03 kB / 0.5558 GB, free: 15.25 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.13e-05/0.005649, allocations: 11.75 kB / 0.5558 GB, free: 15.24 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.005672, allocations: 4 kB / 0.5558 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.005708, allocations: 33.39 kB / 0.5559 GB, free: 15.19 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.00571, allocations: 0 / 0.5559 GB, free: 15.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002605/0.00597, allocations: 57.67 kB / 0.5559 GB, free: 15.13 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.006027, allocations: 55.41 kB / 0.556 GB, free: 15.06 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.006129, allocations: 142.2 kB / 0.5561 GB, free: 14.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.006156, allocations: 25.7 kB / 0.5561 GB, free: 14.88 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.765e-05/0.006234, allocations: 126.9 kB / 0.5563 GB, free: 14.75 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/0.006276, allocations: 11.89 kB / 0.5563 GB, free: 14.74 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/0.006327, allocations: 19.38 kB / 0.5563 GB, free: 14.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003091/0.006637, allocations: 500 kB / 0.5568 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.388e-05/0.00668, allocations: 11.98 kB / 0.5568 GB, free: 14.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.984e-05/0.00671, allocations: 4.188 kB / 0.5568 GB, free: 14.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.63e-05/0.006797, allocations: 27.77 kB / 0.5568 GB, free: 14.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.006799, allocations: 0 / 0.5568 GB, free: 14.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00014/0.006939, allocations: 49.69 kB / 0.5569 GB, free: 14.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.006957, allocations: 4 kB / 0.5569 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.006962, allocations: 0 / 0.5569 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.006977, allocations: 0 / 0.5569 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.007301, allocations: 27.91 kB / 0.5569 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/0.009171, allocations: 1.817 MB / 0.5587 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.753e-05/0.009198, allocations: 4 kB / 0.5587 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.009204, allocations: 0 / 0.5587 GB, free: 12.14 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 0.0001278/0.009331, allocations: 164.6 kB / 0.5588 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.00936, allocations: 7.891 kB / 0.5588 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.32e-05/0.009383, allocations: 7.531 kB / 0.5588 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.009388, allocations: 4 kB / 0.5588 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.009389, allocations: 0 / 0.5588 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.009391, allocations: 0 / 0.5588 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.009504, allocations: 112.6 kB / 0.5589 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.009505, allocations: 0 / 0.5589 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002592/0.009764, allocations: 31.97 kB / 0.559 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.009766, allocations: 0 / 0.559 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.009775, allocations: 7.875 kB / 0.559 GB, free: 11.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001593/0.01137, allocations: 1.817 MB / 0.5608 GB, free: 9.824 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.01137, allocations: 8.109 kB / 0.5608 GB, free: 9.816 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.01152, allocations: 80.38 kB / 0.5608 GB, free: 9.715 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-06/0.01153, allocations: 4 kB / 0.5608 GB, free: 9.711 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.816e-06/0.01154, allocations: 4 kB / 0.5608 GB, free: 9.707 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.192e-05/0.01156, allocations: 0 / 0.5608 GB, free: 9.707 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/0.01158, allocations: 0 / 0.5608 GB, free: 9.707 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.01159, allocations: 11.92 kB / 0.5609 GB, free: 9.695 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.769e-05/0.01166, allocations: 119.2 kB / 0.561 GB, free: 9.578 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01166, allocations: 0 / 0.561 GB, free: 9.578 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001918/0.01185, allocations: 4 kB / 0.561 GB, free: 9.574 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.0001546/0.01201, allocations: 95.25 kB / 0.5611 GB, free: 9.473 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003668/0.01237, allocations: 47.66 kB / 0.5611 GB, free: 9.422 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.01238, allocations: 0 / 0.5611 GB, free: 9.422 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.01259, allocations: 39.88 kB / 0.5612 GB, free: 9.379 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.01274, allocations: 11.94 kB / 0.5612 GB, free: 9.367 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003711/0.01311, allocations: 100.7 kB / 0.5613 GB, free: 9.242 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.501e-05/0.01317, allocations: 59.36 kB / 0.5613 GB, free: 9.164 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.069e-05/0.01321, allocations: 4 kB / 0.5613 GB, free: 9.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.581e-05/0.01325, allocations: 12.48 kB / 0.5613 GB, free: 9.148 MB / 490.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01325, allocations: 0 / 0.5613 GB, free: 9.148 MB / 490.7 MB Notification: Performance of Templates: time 0.003328/0.01658, allocations: 487.7 kB / 0.5618 GB, free: 8.68 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: 5.743543879012577]