Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001653/0.001653, allocations: 75.05 kB / 20.51 MB, free: 1.281 MB / 14.72 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.002045/0.002045, allocations: 168.4 kB / 23.77 MB, free: 4.461 MB / 14.72 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.412/1.412, allocations: 177.2 MB / 204.1 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9123/0.9123, allocations: 113.9 MB / 374.5 MB, free: 12.86 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 65.77 kB / 0.5551 GB, free: 2.832 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1479, allocations: 89.15 MB / 0.6421 GB, free: 9.637 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001689/0.1496, allocations: 0.5796 MB / 0.6427 GB, free: 9.059 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000288/0.1499, allocations: 92.14 kB / 0.6428 GB, free: 8.969 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.533e-05/0.1499, allocations: 0 / 0.6428 GB, free: 8.969 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.555e-05/0.1499, allocations: 0 / 0.6428 GB, free: 8.969 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.547e-05/0.1499, allocations: 0 / 0.6428 GB, free: 8.969 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.1501, allocations: 19.92 kB / 0.6428 GB, free: 8.949 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.561e-05/0.1502, allocations: 4 kB / 0.6428 GB, free: 8.945 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.821e-05/0.1502, allocations: 7.984 kB / 0.6428 GB, free: 8.938 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.778e-05/0.1502, allocations: 15.88 kB / 0.6428 GB, free: 8.922 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.697e-05/0.1503, allocations: 7.984 kB / 0.6428 GB, free: 8.914 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.1503, allocations: 0 / 0.6428 GB, free: 8.914 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.631e-05/0.1504, allocations: 11.98 kB / 0.6429 GB, free: 8.902 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.1504, allocations: 4 kB / 0.6429 GB, free: 8.898 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.596e-05/0.1504, allocations: 0 / 0.6429 GB, free: 8.898 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.893e-05/0.1505, allocations: 15.92 kB / 0.6429 GB, free: 8.883 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1505, allocations: 0 / 0.6429 GB, free: 8.883 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1505, allocations: 0 / 0.6429 GB, free: 8.883 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.1505, allocations: 0 / 0.6429 GB, free: 8.883 MB / 0.545 GB 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.0003211/0.1508, allocations: 250.4 kB / 0.6431 GB, free: 8.605 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.1508, allocations: 8.031 kB / 0.6431 GB, free: 8.598 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.151, allocations: 8.922 kB / 0.6431 GB, free: 8.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.101e-05/0.1511, allocations: 106.5 kB / 0.6432 GB, free: 8.461 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.1511, allocations: 384 / 0.6432 GB, free: 8.461 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-06/0.1511, allocations: 384 / 0.6432 GB, free: 8.461 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.1512, allocations: 50.16 kB / 0.6433 GB, free: 8.406 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1512, allocations: 192 / 0.6433 GB, free: 8.406 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.1512, allocations: 7.938 kB / 0.6433 GB, free: 8.398 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1512, allocations: 0 / 0.6433 GB, free: 8.398 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.916e-05/0.1513, allocations: 15.98 kB / 0.6433 GB, free: 8.383 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.1514, allocations: 101.3 kB / 0.6434 GB, free: 8.254 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.1516, allocations: 46.59 kB / 0.6434 GB, free: 8.199 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.908e-05/0.1517, allocations: 12.92 kB / 0.6435 GB, free: 8.184 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.1517, allocations: 0 / 0.6435 GB, free: 8.184 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.1517, allocations: 34.5 kB / 0.6435 GB, free: 8.141 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.1517, allocations: 0 / 0.6435 GB, free: 8.141 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002205/0.152, allocations: 69.56 kB / 0.6436 GB, free: 8.066 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.152, allocations: 55.41 kB / 0.6436 GB, free: 8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.63e-05/0.152, allocations: 89.86 kB / 0.6437 GB, free: 7.902 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.1521, allocations: 25.7 kB / 0.6437 GB, free: 7.871 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.1521, allocations: 80.14 kB / 0.6438 GB, free: 7.789 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.1521, allocations: 7.938 kB / 0.6438 GB, free: 7.781 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.1522, allocations: 21.7 kB / 0.6438 GB, free: 7.754 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1523, allocations: 310.8 kB / 0.6441 GB, free: 7.441 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.912e-05/0.1523, allocations: 4 kB / 0.6441 GB, free: 7.438 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.603e-05/0.1524, allocations: 11.98 kB / 0.6441 GB, free: 7.426 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.39e-05/0.1525, allocations: 36.72 kB / 0.6442 GB, free: 7.387 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1525, allocations: 0 / 0.6442 GB, free: 7.387 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001164/0.1526, allocations: 45.69 kB / 0.6442 GB, free: 7.336 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1526, allocations: 4 kB / 0.6442 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.1526, allocations: 0 / 0.6442 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1526, allocations: 3.938 kB / 0.6442 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/0.153, allocations: 51.86 kB / 0.6443 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/0.1544, allocations: 1.282 MB / 0.6455 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.855e-05/0.1544, allocations: 0 / 0.6455 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.1544, allocations: 0 / 0.6455 GB, free: 5.895 MB / 0.545 GB 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.583e-05/0.1545, allocations: 117.1 kB / 0.6456 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.044e-05/0.1545, allocations: 3.984 kB / 0.6456 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.659e-05/0.1545, allocations: 7.531 kB / 0.6456 GB, free: 5.762 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1545, allocations: 0 / 0.6456 GB, free: 5.762 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.1545, allocations: 4 kB / 0.6456 GB, free: 5.758 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.1545, allocations: 4.094 kB / 0.6457 GB, free: 5.754 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.188e-05/0.1546, allocations: 93.33 kB / 0.6457 GB, free: 5.633 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.1546, allocations: 7.938 kB / 0.6457 GB, free: 5.625 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003908/0.155, allocations: 47.86 kB / 0.6458 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.155, allocations: 4 kB / 0.6458 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.155, allocations: 4 kB / 0.6458 GB, free: 5.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/0.1563, allocations: 1.279 MB / 0.6471 GB, free: 4.191 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1563, allocations: 0 / 0.6471 GB, free: 4.191 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.1564, allocations: 85.02 kB / 0.6471 GB, free: 4.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-06/0.1565, allocations: 3.953 kB / 0.6471 GB, free: 4.086 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.215e-06/0.1565, allocations: 4 kB / 0.6471 GB, free: 4.082 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.785e-05/0.1565, allocations: 0 / 0.6471 GB, free: 4.082 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2e-05/0.1565, allocations: 3.984 kB / 0.6471 GB, free: 4.078 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.1565, allocations: 0 / 0.6471 GB, free: 4.078 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.376e-05/0.1565, allocations: 83.22 kB / 0.6472 GB, free: 3.996 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1565, allocations: 0 / 0.6472 GB, free: 3.996 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001988/0.1567, allocations: 4 kB / 0.6472 GB, free: 3.992 MB / 0.545 GB 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.0001073/0.1568, allocations: 99.31 kB / 0.6473 GB, free: 3.883 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004831/0.1573, allocations: 59.84 kB / 0.6474 GB, free: 3.824 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.1573, allocations: 4 kB / 0.6474 GB, free: 3.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002486/0.1576, allocations: 43.89 kB / 0.6474 GB, free: 3.777 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.1577, allocations: 2.062 kB / 0.6474 GB, free: 3.777 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003202/0.158, allocations: 97.02 kB / 0.6475 GB, free: 3.656 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.135e-05/0.1581, allocations: 59.34 kB / 0.6476 GB, free: 3.578 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.398e-05/0.1581, allocations: 11.98 kB / 0.6476 GB, free: 3.566 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.1581, allocations: 8.5 kB / 0.6476 GB, free: 3.559 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.1581, allocations: 0 / 0.6476 GB, free: 3.559 MB / 0.545 GB Notification: Performance of Templates: time 0.002671/0.1608, allocations: 449.6 kB / 0.648 GB, free: 3.125 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.287445201887749] Failed to read output from testmodel.py, exit status != 0: 0.1691164739895612 0.183253564 0.029802637000000003 Calling exit ...