Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001065, allocations: 117 kB / 17.09 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 196.6 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7117/0.7117, allocations: 115.3 MB / 407.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.17 kB / 0.5584 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1537, allocations: 76.18 MB / 0.6328 GB, free: 4.352 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.001837/0.1555, allocations: 0.5708 MB / 0.6333 GB, free: 3.785 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002571/0.1558, allocations: 31.88 kB / 0.6334 GB, free: 3.754 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.369e-05/0.1559, allocations: 4 kB / 0.6334 GB, free: 3.75 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.1559, allocations: 0 / 0.6334 GB, free: 3.75 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.612e-06/0.1559, allocations: 4 kB / 0.6334 GB, free: 3.746 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.1562, allocations: 8 kB / 0.6334 GB, free: 3.738 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.915e-05/0.1563, allocations: 7.984 kB / 0.6334 GB, free: 3.73 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.977e-05/0.1563, allocations: 0 / 0.6334 GB, free: 3.73 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.618e-05/0.1564, allocations: 3.984 kB / 0.6334 GB, free: 3.727 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.174e-05/0.1564, allocations: 0 / 0.6334 GB, free: 3.727 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.1564, allocations: 0 / 0.6334 GB, free: 3.727 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.1565, allocations: 23.86 kB / 0.6334 GB, free: 3.703 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.1565, allocations: 4 kB / 0.6334 GB, free: 3.699 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.1566, allocations: 4 kB / 0.6334 GB, free: 3.695 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 9.706e-05/0.1567, allocations: 7.984 kB / 0.6334 GB, free: 3.688 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1567, allocations: 4 kB / 0.6334 GB, free: 3.684 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.1567, allocations: 4 kB / 0.6334 GB, free: 3.68 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.1567, allocations: 3.984 kB / 0.6334 GB, free: 3.676 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000341/0.1571, allocations: 315.6 kB / 0.6337 GB, free: 3.316 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.1571, allocations: 8.031 kB / 0.6337 GB, free: 3.309 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.1571, allocations: 0.9375 kB / 0.6337 GB, free: 3.309 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.1572, allocations: 164.4 kB / 0.6339 GB, free: 3.109 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.1573, allocations: 384 / 0.6339 GB, free: 3.109 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.1573, allocations: 4.375 kB / 0.6339 GB, free: 3.105 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.1574, allocations: 34.27 kB / 0.6339 GB, free: 3.066 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1574, allocations: 4.125 kB / 0.6339 GB, free: 3.062 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1574, allocations: 3.938 kB / 0.6339 GB, free: 3.059 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1574, allocations: 0 / 0.6339 GB, free: 3.059 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.502e-05/0.1575, allocations: 4 kB / 0.634 GB, free: 3.055 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.1576, allocations: 145.7 kB / 0.6341 GB, free: 2.863 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.08e-05/0.1577, allocations: 22.52 kB / 0.6341 GB, free: 2.832 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.949e-05/0.1577, allocations: 12.95 kB / 0.6341 GB, free: 2.816 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.1578, allocations: 0 / 0.6341 GB, free: 2.816 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.1578, allocations: 30.56 kB / 0.6342 GB, free: 2.777 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 3.316e-06/0.1578, allocations: 7.984 kB / 0.6342 GB, free: 2.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001407/0.1579, allocations: 37.58 kB / 0.6342 GB, free: 2.727 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.158, allocations: 51.41 kB / 0.6342 GB, free: 2.664 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.369e-05/0.158, allocations: 97.8 kB / 0.6343 GB, free: 2.559 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.1581, allocations: 25.7 kB / 0.6344 GB, free: 2.527 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.946e-05/0.1581, allocations: 88.25 kB / 0.6344 GB, free: 2.438 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.1581, allocations: 3.984 kB / 0.6345 GB, free: 2.434 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.1582, allocations: 14.06 kB / 0.6345 GB, free: 2.414 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1583, allocations: 310.8 kB / 0.6348 GB, free: 2.102 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.828e-06/0.1583, allocations: 0 / 0.6348 GB, free: 2.102 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.027e-06/0.1583, allocations: 4 kB / 0.6348 GB, free: 2.098 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.888e-05/0.1584, allocations: 8.797 kB / 0.6348 GB, free: 2.086 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1584, allocations: 8.062 kB / 0.6348 GB, free: 2.078 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.971e-05/0.1584, allocations: 37.69 kB / 0.6348 GB, free: 2.035 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1585, allocations: 4 kB / 0.6348 GB, free: 2.031 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1585, allocations: 0 / 0.6348 GB, free: 2.031 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.1585, allocations: 7.938 kB / 0.6348 GB, free: 2.023 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.808e-05/0.1585, allocations: 0 / 0.6348 GB, free: 2.023 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.1586, allocations: 3.984 kB / 0.6348 GB, free: 2.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.763e-05/0.1586, allocations: 3.906 kB / 0.6348 GB, free: 2.016 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.1586, allocations: 4 kB / 0.6348 GB, free: 2.012 MB / 478.1 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 (1): * Single equations (assignments): 1 * 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 7.972e-05/0.1587, allocations: 109.9 kB / 0.6349 GB, free: 1.895 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.517e-06/0.1587, allocations: 0 / 0.6349 GB, free: 1.895 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.1588, allocations: 52.69 kB / 0.635 GB, free: 1.836 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1588, allocations: 0 / 0.635 GB, free: 1.836 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1588, allocations: 0 / 0.635 GB, free: 1.836 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1588, allocations: 0 / 0.635 GB, free: 1.836 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.1589, allocations: 145.7 kB / 0.6351 GB, free: 1.645 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.159, allocations: 4.031 kB / 0.6351 GB, free: 1.641 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.184e-05/0.159, allocations: 4 kB / 0.6351 GB, free: 1.637 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.159, allocations: 0 / 0.6351 GB, free: 1.637 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.159, allocations: 3.938 kB / 0.6351 GB, free: 1.633 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.159, allocations: 0 / 0.6351 GB, free: 1.633 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.159, allocations: 4 kB / 0.6351 GB, free: 1.629 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.217e-05/0.1591, allocations: 65.06 kB / 0.6352 GB, free: 1.547 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.026e-05/0.1591, allocations: 77.11 kB / 0.6353 GB, free: 1.453 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.1592, allocations: 7.969 kB / 0.6353 GB, free: 1.445 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.129e-05/0.1592, allocations: 0 / 0.6353 GB, free: 1.445 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.547e-05/0.1592, allocations: 7.938 kB / 0.6353 GB, free: 1.438 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.1592, allocations: 3.938 kB / 0.6353 GB, free: 1.434 MB / 478.1 MB Notification: Performance of sorting global known variables: time 2.884e-05/0.1592, allocations: 79.28 kB / 0.6354 GB, free: 1.355 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1592, allocations: 0 / 0.6354 GB, free: 1.355 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0001951/0.1594, allocations: 4 kB / 0.6354 GB, free: 1.352 MB / 478.1 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 (1): * Single equations (assignments): 1 * 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.0001623/0.1596, allocations: 107.2 kB / 0.6355 GB, free: 1.234 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 7.065e-05/0.1597, allocations: 8 kB / 0.6355 GB, free: 1.227 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1597, allocations: 0 / 0.6355 GB, free: 1.227 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 1.935e-05/0.1597, allocations: 8 kB / 0.6355 GB, free: 1.219 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.1599, allocations: 0 / 0.6355 GB, free: 1.219 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001976/0.1601, allocations: 110.7 kB / 0.6356 GB, free: 1.078 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.1603, allocations: 0.6729 MB / 0.6363 GB, free: 388 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.603e-05/0.1604, allocations: 7.438 kB / 0.6363 GB, free: 380 kB / 478.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1604, allocations: 4.125 kB / 0.6363 GB, free: 376 kB / 478.1 MB Notification: Performance of Templates: time 0.001847/0.1622, allocations: 443.6 kB / 0.6367 GB, free: 15.93 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)