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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial") translateModel(IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008903/0.0008904, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4913/0.4913, allocations: 90.91 MB / 99.34 MB, free: 2.203 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 221.5 MB / 343.2 MB, free: 1.609 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008108/0.0008108, allocations: 94.88 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.701e-05/1.702e-05, allocations: 4 kB / 494.5 MB, free: 52.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.131, allocations: 72.31 MB / 0.5535 GB, free: 12.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4256/0.5566, allocations: 100.8 MB / 0.652 GB, free: 9.477 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.5569, allocations: 71.95 kB / 0.652 GB, free: 9.438 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002272/0.5592, allocations: 0.7748 MB / 0.6528 GB, free: 8.73 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5592, allocations: 0 / 0.6528 GB, free: 8.73 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.5593, allocations: 4 kB / 0.6528 GB, free: 8.727 MB / 458.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.0003455/0.5596, allocations: 349.7 kB / 0.6531 GB, free: 8.348 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.5596, allocations: 8.031 kB / 0.6531 GB, free: 8.34 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.965e-05/0.5597, allocations: 3.953 kB / 0.6531 GB, free: 8.336 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.5598, allocations: 171 kB / 0.6533 GB, free: 8.129 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.5598, allocations: 0.6562 kB / 0.6533 GB, free: 8.129 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.5599, allocations: 0 / 0.6533 GB, free: 8.129 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.194e-05/0.5599, allocations: 15.56 kB / 0.6533 GB, free: 8.117 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.577e-05/0.56, allocations: 41.06 kB / 0.6533 GB, free: 8.074 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.56, allocations: 0 / 0.6533 GB, free: 8.074 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.56, allocations: 0 / 0.6533 GB, free: 8.074 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.5601, allocations: 6.688 kB / 0.6534 GB, free: 8.07 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.5605, allocations: 254.3 kB / 0.6536 GB, free: 7.797 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.531e-05/0.5605, allocations: 33.52 kB / 0.6536 GB, free: 7.758 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.398e-05/0.5606, allocations: 12.23 kB / 0.6536 GB, free: 7.746 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.5606, allocations: 7.969 kB / 0.6536 GB, free: 7.738 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.5606, allocations: 34.56 kB / 0.6537 GB, free: 7.695 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.5606, allocations: 0 / 0.6537 GB, free: 7.695 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002534/0.5609, allocations: 51.91 kB / 0.6537 GB, free: 7.645 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.561, allocations: 59.39 kB / 0.6538 GB, free: 7.574 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.5611, allocations: 92.31 kB / 0.6539 GB, free: 7.48 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.5611, allocations: 25.7 kB / 0.6539 GB, free: 7.449 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.014e-05/0.5612, allocations: 84.14 kB / 0.654 GB, free: 7.363 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.5612, allocations: 11.03 kB / 0.654 GB, free: 7.355 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.5612, allocations: 0 / 0.654 GB, free: 7.355 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.5614, allocations: 314.8 kB / 0.6543 GB, free: 7.039 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.735e-05/0.5614, allocations: 11.5 kB / 0.6543 GB, free: 7.031 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.241e-05/0.5614, allocations: 8 kB / 0.6543 GB, free: 7.023 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.085e-05/0.5615, allocations: 6.875 kB / 0.6543 GB, free: 7.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5615, allocations: 4 kB / 0.6543 GB, free: 7.016 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001404/0.5617, allocations: 46.94 kB / 0.6544 GB, free: 6.969 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.5617, allocations: 4 kB / 0.6544 GB, free: 6.965 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.5617, allocations: 0 / 0.6544 GB, free: 6.965 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.5617, allocations: 0 / 0.6544 GB, free: 6.965 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.5618, allocations: 11.98 kB / 0.6544 GB, free: 6.953 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.5619, allocations: 4 kB / 0.6544 GB, free: 6.949 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.899e-05/0.562, allocations: 19.97 kB / 0.6544 GB, free: 6.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.562, allocations: 0 / 0.6544 GB, free: 6.93 MB / 458.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.186e-05/0.5621, allocations: 105 kB / 0.6545 GB, free: 6.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.5621, allocations: 0 / 0.6545 GB, free: 6.82 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/0.5623, allocations: 58.7 kB / 0.6546 GB, free: 6.766 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5623, allocations: 0 / 0.6546 GB, free: 6.766 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.5623, allocations: 4 kB / 0.6546 GB, free: 6.762 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.5623, allocations: 4.031 kB / 0.6546 GB, free: 6.758 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.5625, allocations: 145.4 kB / 0.6547 GB, free: 6.586 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.5626, allocations: 0 / 0.6547 GB, free: 6.586 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.356e-05/0.5627, allocations: 11.98 kB / 0.6547 GB, free: 6.574 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.5627, allocations: 3.5 kB / 0.6547 GB, free: 6.574 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.5627, allocations: 4 kB / 0.6547 GB, free: 6.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.5627, allocations: 0 / 0.6547 GB, free: 6.57 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.5627, allocations: 0 / 0.6547 GB, free: 6.57 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.5629, allocations: 143.2 kB / 0.6549 GB, free: 6.418 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/0.563, allocations: 77.11 kB / 0.6549 GB, free: 6.324 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.563, allocations: 11.92 kB / 0.6549 GB, free: 6.312 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.5631, allocations: 7.938 kB / 0.655 GB, free: 6.305 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.5632, allocations: 11.48 kB / 0.655 GB, free: 6.297 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.5632, allocations: 0 / 0.655 GB, free: 6.297 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.203e-05/0.5633, allocations: 79.28 kB / 0.655 GB, free: 6.219 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5633, allocations: 4.031 kB / 0.655 GB, free: 6.215 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003817/0.5637, allocations: 8 kB / 0.6551 GB, free: 6.207 MB / 458.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001754/0.5639, allocations: 99.23 kB / 0.6551 GB, free: 6.098 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001009/0.564, allocations: 21.8 kB / 0.6552 GB, free: 6.082 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.564, allocations: 0 / 0.6552 GB, free: 6.082 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.298e-05/0.564, allocations: 10.5 kB / 0.6552 GB, free: 6.074 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.5643, allocations: 5.203 kB / 0.6552 GB, free: 6.07 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002565/0.5645, allocations: 74.81 kB / 0.6553 GB, free: 5.977 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.5649, allocations: 0.6807 MB / 0.6559 GB, free: 5.27 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.951e-05/0.5649, allocations: 0 / 0.6559 GB, free: 5.27 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.565, allocations: 14.56 kB / 0.6559 GB, free: 5.258 MB / 458.7 MB Notification: Performance of SimCode: time 3.9e-07/0.565, allocations: 0 / 0.6559 GB, free: 5.258 MB / 458.7 MB Notification: Performance of Templates: time 0.002933/0.5679, allocations: 435.5 kB / 0.6563 GB, free: 4.844 MB / 458.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.makefile (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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1)