Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.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.001311/0.001311, allocations: 71.98 kB / 20.51 MB, free: 1.285 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.001433/0.001433, allocations: 165.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.421/1.421, allocations: 177.2 MB / 204.1 MB, free: 8.973 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.9402/0.9402, allocations: 113.9 MB / 374.5 MB, free: 12.89 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.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial") translateModel(IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial") [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.002236/0.002236, allocations: 71.03 kB / 0.555 GB, free: 2.727 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1547, allocations: 89.14 MB / 0.6421 GB, free: 9.539 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynomial): time 0.002742/0.1575, allocations: 1.447 MB / 0.6435 GB, free: 8.086 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003017/0.1578, allocations: 87.77 kB / 0.6436 GB, free: 8 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.812e-05/0.1578, allocations: 0 / 0.6436 GB, free: 8 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.116e-05/0.1578, allocations: 0 / 0.6436 GB, free: 8 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.488e-05/0.1579, allocations: 7.922 kB / 0.6436 GB, free: 7.992 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.1581, allocations: 15.98 kB / 0.6436 GB, free: 7.977 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.347e-05/0.1582, allocations: 23.92 kB / 0.6436 GB, free: 7.953 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.071e-05/0.1582, allocations: 11.98 kB / 0.6436 GB, free: 7.941 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.724e-05/0.1583, allocations: 11.94 kB / 0.6437 GB, free: 7.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.775e-05/0.1583, allocations: 3.984 kB / 0.6437 GB, free: 7.926 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.1583, allocations: 7.984 kB / 0.6437 GB, free: 7.918 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.819e-05/0.1584, allocations: 19.98 kB / 0.6437 GB, free: 7.898 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.845e-05/0.1584, allocations: 11.94 kB / 0.6437 GB, free: 7.887 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.8e-05/0.1585, allocations: 3.938 kB / 0.6437 GB, free: 7.883 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.1586, allocations: 43.81 kB / 0.6437 GB, free: 7.84 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1586, allocations: 0 / 0.6437 GB, free: 7.84 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.203e-06/0.1586, allocations: 3.938 kB / 0.6437 GB, free: 7.836 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.1586, allocations: 0 / 0.6437 GB, free: 7.836 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.0004325/0.159, allocations: 266.3 kB / 0.644 GB, free: 7.543 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.159, allocations: 8.031 kB / 0.644 GB, free: 7.535 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.1591, allocations: 12.89 kB / 0.644 GB, free: 7.523 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.1592, allocations: 102.5 kB / 0.6441 GB, free: 7.398 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1592, allocations: 8.312 kB / 0.6441 GB, free: 7.391 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-06/0.1592, allocations: 384 / 0.6441 GB, free: 7.391 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.1594, allocations: 50.23 kB / 0.6442 GB, free: 7.336 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.1594, allocations: 192 / 0.6442 GB, free: 7.336 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1594, allocations: 3.938 kB / 0.6442 GB, free: 7.332 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.1594, allocations: 0 / 0.6442 GB, free: 7.332 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.1596, allocations: 43.89 kB / 0.6442 GB, free: 7.289 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/0.1599, allocations: 208.6 kB / 0.6444 GB, free: 7.055 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.16, allocations: 38.56 kB / 0.6445 GB, free: 7.008 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.7e-05/0.1601, allocations: 20.89 kB / 0.6445 GB, free: 6.984 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.1601, allocations: 7.938 kB / 0.6445 GB, free: 6.977 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.1602, allocations: 34.56 kB / 0.6445 GB, free: 6.934 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1602, allocations: 0 / 0.6445 GB, free: 6.934 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003774/0.1605, allocations: 93.53 kB / 0.6446 GB, free: 6.836 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.1606, allocations: 55.41 kB / 0.6447 GB, free: 6.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.877e-05/0.1607, allocations: 105.8 kB / 0.6448 GB, free: 6.656 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.1607, allocations: 29.7 kB / 0.6448 GB, free: 6.621 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/0.1608, allocations: 80.14 kB / 0.6449 GB, free: 6.539 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.1608, allocations: 3.953 kB / 0.6449 GB, free: 6.535 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-05/0.1608, allocations: 17.72 kB / 0.6449 GB, free: 6.512 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.161, allocations: 314.8 kB / 0.6452 GB, free: 6.195 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.92e-05/0.161, allocations: 20.11 kB / 0.6452 GB, free: 6.176 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.897e-05/0.1611, allocations: 19.98 kB / 0.6452 GB, free: 6.156 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.1613, allocations: 48.75 kB / 0.6453 GB, free: 6.105 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1613, allocations: 0 / 0.6453 GB, free: 6.105 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002192/0.1615, allocations: 73.59 kB / 0.6453 GB, free: 6.027 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.1615, allocations: 4.094 kB / 0.6453 GB, free: 6.023 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1615, allocations: 4 kB / 0.6453 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1615, allocations: 3.984 kB / 0.6454 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.556e-05/0.1616, allocations: 11.98 kB / 0.6454 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.1616, allocations: 0 / 0.6454 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.936e-05/0.1617, allocations: 7.938 kB / 0.6454 GB, free: 5.996 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.1617, allocations: 0 / 0.6454 GB, free: 5.996 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 (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 8.45e-05/0.1618, allocations: 117.8 kB / 0.6455 GB, free: 5.871 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.1618, allocations: 7.891 kB / 0.6455 GB, free: 5.863 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002548/0.162, allocations: 77.22 kB / 0.6456 GB, free: 5.777 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.162, allocations: 7.875 kB / 0.6456 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.162, allocations: 0 / 0.6456 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.1621, allocations: 4 kB / 0.6456 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.1622, allocations: 105.3 kB / 0.6457 GB, free: 5.633 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1622, allocations: 0 / 0.6457 GB, free: 5.633 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-05/0.1622, allocations: 11.98 kB / 0.6457 GB, free: 5.621 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.1623, allocations: 3.938 kB / 0.6457 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.1623, allocations: 0 / 0.6457 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1623, allocations: 4.281 kB / 0.6457 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1623, allocations: 0 / 0.6457 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.1625, allocations: 171.5 kB / 0.6459 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.029e-05/0.1625, allocations: 7.938 kB / 0.6459 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.1626, allocations: 0 / 0.6459 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.086e-05/0.1626, allocations: 11.98 kB / 0.6459 GB, free: 5.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-05/0.1627, allocations: 0 / 0.6459 GB, free: 5.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.1627, allocations: 0 / 0.6459 GB, free: 5.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.958e-05/0.1627, allocations: 87.3 kB / 0.646 GB, free: 5.324 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1627, allocations: 4 kB / 0.646 GB, free: 5.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002285/0.163, allocations: 8 kB / 0.646 GB, free: 5.312 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 (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 0.0001185/0.1631, allocations: 95.25 kB / 0.6461 GB, free: 5.211 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002178/0.1633, allocations: 39.95 kB / 0.6461 GB, free: 5.172 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1633, allocations: 0 / 0.6461 GB, free: 5.172 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.565e-05/0.1634, allocations: 27.98 kB / 0.6461 GB, free: 5.145 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.1636, allocations: 1.562 kB / 0.6461 GB, free: 5.145 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002998/0.1639, allocations: 125.4 kB / 0.6463 GB, free: 4.996 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.899e-05/0.164, allocations: 55.36 kB / 0.6463 GB, free: 4.922 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.461e-05/0.164, allocations: 7.984 kB / 0.6463 GB, free: 4.914 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.965e-05/0.164, allocations: 8.5 kB / 0.6463 GB, free: 4.906 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.164, allocations: 0 / 0.6463 GB, free: 4.906 MB / 0.545 GB Notification: Performance of Templates: time 0.002936/0.167, allocations: 0.5439 MB / 0.6469 GB, free: 4.367 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.370083326008171] Failed to read output from testmodel.py, exit status != 0: 0.17563451000023633 0.18990836400000002 0.028317892 Calling exit ...