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.0007872/0.0007872, allocations: 84.44 kB / 20.69 MB, free: 3.863 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.0007794/0.0007794, allocations: 165.9 kB / 23.96 MB, free: 0.5898 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.8728/0.8728, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.5588/0.5588, allocations: 114 MB / 374.7 MB, free: 8.715 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.5555 GB, free: 1.156 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.407e-05/1.566e-05, allocations: 2.281 kB / 0.5555 GB, free: 1.152 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0009275/0.0009432, allocations: 0.5828 MB / 0.556 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002067/0.00115, allocations: 87.67 kB / 0.5561 GB, free: 500 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.481e-05/0.001165, allocations: 8 kB / 0.5561 GB, free: 492 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.402e-05/0.001179, allocations: 0 / 0.5561 GB, free: 492 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 3.819e-05/0.001217, allocations: 0 / 0.5561 GB, free: 492 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.001402, allocations: 19.91 kB / 0.5562 GB, free: 472 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 4.576e-05/0.001448, allocations: 4 kB / 0.5562 GB, free: 468 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.641e-05/0.001485, allocations: 4 kB / 0.5562 GB, free: 464 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.933e-05/0.001514, allocations: 3.984 kB / 0.5562 GB, free: 460 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.285e-05/0.001577, allocations: 4 kB / 0.5562 GB, free: 456 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.00159, allocations: 0 / 0.5562 GB, free: 456 kB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.021e-05/0.00164, allocations: 19.98 kB / 0.5562 GB, free: 436 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.203e-05/0.001652, allocations: 3.938 kB / 0.5562 GB, free: 432 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.536e-05/0.001667, allocations: 3.984 kB / 0.5562 GB, free: 428 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 7.77e-05/0.001745, allocations: 19.97 kB / 0.5562 GB, free: 408 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.001747, allocations: 0 / 0.5562 GB, free: 408 kB / 474.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.001748, allocations: 0 / 0.5562 GB, free: 408 kB / 474.7 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.001751, allocations: 0 / 0.5562 GB, free: 408 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.0002452/0.001996, allocations: 242.4 kB / 0.5564 GB, free: 132 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.002027, allocations: 8.031 kB / 0.5565 GB, free: 124 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.002135, allocations: 8.922 kB / 0.5565 GB, free: 116 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.022e-05/0.002195, allocations: 117.7 kB / 0.5566 GB, free: 15.97 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.002214, allocations: 4.359 kB / 0.5566 GB, free: 15.97 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-06/0.00222, allocations: 384 / 0.5566 GB, free: 15.97 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.541e-05/0.002306, allocations: 42.19 kB / 0.5566 GB, free: 15.92 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.002313, allocations: 4.188 kB / 0.5566 GB, free: 15.92 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.002321, allocations: 384 / 0.5566 GB, free: 15.92 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.002325, allocations: 384 / 0.5566 GB, free: 15.92 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.839e-05/0.002373, allocations: 15.92 kB / 0.5566 GB, free: 15.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.076e-05/0.002464, allocations: 97.33 kB / 0.5567 GB, free: 15.78 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.00257, allocations: 46.59 kB / 0.5568 GB, free: 15.72 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.604e-05/0.002596, allocations: 12.92 kB / 0.5568 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.002609, allocations: 0 / 0.5568 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.002626, allocations: 34.5 kB / 0.5568 GB, free: 15.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 6.72e-07/0.002627, allocations: 0 / 0.5568 GB, free: 15.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001406/0.002767, allocations: 53.67 kB / 0.5569 GB, free: 15.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.002793, allocations: 55.41 kB / 0.5569 GB, free: 15.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.35e-05/0.002817, allocations: 89.86 kB / 0.557 GB, free: 15.44 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.002825, allocations: 29.7 kB / 0.557 GB, free: 15.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.662e-05/0.002842, allocations: 84.08 kB / 0.5571 GB, free: 15.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.002869, allocations: 15.88 kB / 0.5571 GB, free: 15.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.002893, allocations: 13.72 kB / 0.5572 GB, free: 15.29 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.754e-05/0.00296, allocations: 314.8 kB / 0.5575 GB, free: 14.97 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.231e-05/0.002983, allocations: 11.98 kB / 0.5575 GB, free: 14.96 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.445e-05/0.002997, allocations: 4 kB / 0.5575 GB, free: 14.95 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.403e-05/0.003041, allocations: 28.78 kB / 0.5575 GB, free: 14.92 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.003043, allocations: 0 / 0.5575 GB, free: 14.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002894/0.003332, allocations: 53.64 kB / 0.5575 GB, free: 14.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/0.003342, allocations: 4 kB / 0.5575 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.003346, allocations: 0 / 0.5575 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.003357, allocations: 0 / 0.5575 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.003555, allocations: 43.92 kB / 0.5576 GB, free: 14.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007094/0.004265, allocations: 1.29 MB / 0.5589 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.291e-05/0.004278, allocations: 0 / 0.5589 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.004281, allocations: 4.156 kB / 0.5589 GB, free: 13.42 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 5.026e-05/0.004332, allocations: 113.9 kB / 0.559 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-06/0.004336, allocations: 3.938 kB / 0.559 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.975e-06/0.004344, allocations: 7.531 kB / 0.559 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-07/0.004345, allocations: 0 / 0.559 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-07/0.004345, allocations: 4 kB / 0.559 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.004347, allocations: 0 / 0.559 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.255e-05/0.004389, allocations: 97.31 kB / 0.5591 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.004392, allocations: 4 kB / 0.5591 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.004553, allocations: 55.8 kB / 0.5591 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.004555, allocations: 4 kB / 0.5591 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.004561, allocations: 3.938 kB / 0.5591 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005625/0.005124, allocations: 1.278 MB / 0.5604 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.005124, allocations: 0 / 0.5604 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.269e-05/0.005187, allocations: 77.03 kB / 0.5605 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.843e-06/0.005189, allocations: 160 / 0.5605 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.717e-06/0.005192, allocations: 8 kB / 0.5605 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.476e-05/0.005207, allocations: 7.984 kB / 0.5605 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.283e-05/0.00522, allocations: 0 / 0.5605 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.005224, allocations: 4 kB / 0.5605 GB, free: 11.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 1.65e-05/0.00524, allocations: 79.28 kB / 0.5606 GB, free: 11.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 3e-08/0.00524, allocations: 3.938 kB / 0.5606 GB, free: 11.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001223/0.005362, allocations: 4 kB / 0.5606 GB, free: 11.51 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 6.457e-05/0.005427, allocations: 91.25 kB / 0.5606 GB, free: 11.41 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.005647, allocations: 71.88 kB / 0.5607 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.005648, allocations: 0 / 0.5607 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.005807, allocations: 55.92 kB / 0.5608 GB, free: 11.29 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.476e-05/0.005901, allocations: 7.938 kB / 0.5608 GB, free: 11.28 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002135/0.006115, allocations: 122.5 kB / 0.5609 GB, free: 11.13 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.08e-05/0.006146, allocations: 59.34 kB / 0.5609 GB, free: 11.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.989e-05/0.006166, allocations: 16.5 kB / 0.561 GB, free: 11.04 MB / 490.7 MB Notification: Performance of SimCode: time 3.11e-07/0.006166, allocations: 0 / 0.561 GB, free: 11.04 MB / 490.7 MB Notification: Performance of Templates: time 0.001334/0.0075, allocations: 0.6042 MB / 0.5616 GB, free: 10.43 MB / 490.7 MB " [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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.682382768020034] Failed to read output from testmodel.py, exit status != 0: 0.011439725756645203 0.020153387000000002 0.016267572 Calling exit ...