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.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: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001339, allocations: 98.42 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 180.3 kB / 16.92 MB, free: 6.922 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.422/1.422, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7074/0.7074, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003413, allocations: 8 kB / 495.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1538, allocations: 77.54 MB / 0.56 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynomial): time 0.001948/0.1558, allocations: 1.154 MB / 0.5612 GB, free: 7.754 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003662/0.1562, allocations: 96.58 kB / 0.5613 GB, free: 7.656 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.656e-05/0.1563, allocations: 0 / 0.5613 GB, free: 7.656 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.549e-05/0.1564, allocations: 0 / 0.5613 GB, free: 7.656 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.468e-05/0.1564, allocations: 0 / 0.5613 GB, free: 7.656 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.1566, allocations: 15.92 kB / 0.5613 GB, free: 7.641 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.309e-05/0.1567, allocations: 27.92 kB / 0.5613 GB, free: 7.613 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.01e-05/0.1568, allocations: 4 kB / 0.5613 GB, free: 7.609 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.514e-05/0.1568, allocations: 7.984 kB / 0.5613 GB, free: 7.602 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.897e-05/0.1569, allocations: 15.92 kB / 0.5613 GB, free: 7.586 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.1569, allocations: 4 kB / 0.5613 GB, free: 7.582 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.157, allocations: 19.92 kB / 0.5614 GB, free: 7.562 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.653e-05/0.1571, allocations: 3.984 kB / 0.5614 GB, free: 7.559 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.012e-05/0.1571, allocations: 37.64 kB / 0.5614 GB, free: 7.516 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.1573, allocations: 31.89 kB / 0.5614 GB, free: 7.484 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1573, allocations: 0 / 0.5614 GB, free: 7.484 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1573, allocations: 0 / 0.5614 GB, free: 7.484 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.1573, allocations: 0 / 0.5614 GB, free: 7.484 MB / 430.1 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.0004777/0.1578, allocations: 351.7 kB / 0.5618 GB, free: 7.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.1579, allocations: 8.031 kB / 0.5618 GB, free: 7.082 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.871e-05/0.1579, allocations: 30.75 kB / 0.5618 GB, free: 7.043 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.522e-05/0.1579, allocations: 4.938 kB / 0.5618 GB, free: 7.039 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.158, allocations: 172.3 kB / 0.562 GB, free: 6.832 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.1581, allocations: 384 / 0.562 GB, free: 6.832 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.1581, allocations: 4.375 kB / 0.562 GB, free: 6.828 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.1583, allocations: 62.17 kB / 0.562 GB, free: 6.762 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1583, allocations: 7.875 kB / 0.562 GB, free: 6.754 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.1583, allocations: 0 / 0.562 GB, free: 6.754 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.1583, allocations: 4 kB / 0.562 GB, free: 6.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.1585, allocations: 51.95 kB / 0.5621 GB, free: 6.699 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.1589, allocations: 245 kB / 0.5623 GB, free: 6.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.159, allocations: 54.42 kB / 0.5624 GB, free: 6.348 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.957e-05/0.1591, allocations: 36.84 kB / 0.5624 GB, free: 6.309 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-05/0.1592, allocations: 4 kB / 0.5624 GB, free: 6.305 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.1592, allocations: 30.56 kB / 0.5624 GB, free: 6.266 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1592, allocations: 0 / 0.5624 GB, free: 6.266 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003883/0.1596, allocations: 105.6 kB / 0.5625 GB, free: 6.156 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.1597, allocations: 55.39 kB / 0.5626 GB, free: 6.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.771e-05/0.1598, allocations: 101.9 kB / 0.5627 GB, free: 5.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.1598, allocations: 29.64 kB / 0.5627 GB, free: 5.945 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.056e-05/0.1598, allocations: 92.25 kB / 0.5628 GB, free: 5.852 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.1599, allocations: 11.84 kB / 0.5628 GB, free: 5.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/0.1599, allocations: 9.719 kB / 0.5628 GB, free: 5.824 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.16, allocations: 310.8 kB / 0.5631 GB, free: 5.512 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.267e-05/0.1601, allocations: 23.98 kB / 0.5632 GB, free: 5.488 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.611e-05/0.1602, allocations: 31.97 kB / 0.5632 GB, free: 5.457 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.1604, allocations: 48.83 kB / 0.5632 GB, free: 5.406 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1604, allocations: 3.938 kB / 0.5632 GB, free: 5.402 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002207/0.1606, allocations: 81.72 kB / 0.5633 GB, free: 5.316 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1606, allocations: 4 kB / 0.5633 GB, free: 5.312 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1607, allocations: 0 / 0.5633 GB, free: 5.312 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1607, allocations: 0 / 0.5633 GB, free: 5.312 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.1608, allocations: 15.92 kB / 0.5633 GB, free: 5.297 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1608, allocations: 4.031 kB / 0.5633 GB, free: 5.293 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.533e-05/0.1609, allocations: 15.89 kB / 0.5633 GB, free: 5.277 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.1609, allocations: 0 / 0.5633 GB, free: 5.277 MB / 430.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 (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 9.693e-05/0.161, allocations: 117.8 kB / 0.5635 GB, free: 5.152 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.161, allocations: 3.984 kB / 0.5635 GB, free: 5.148 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002641/0.1613, allocations: 93.44 kB / 0.5636 GB, free: 5.051 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1613, allocations: 0 / 0.5636 GB, free: 5.051 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.1613, allocations: 3.984 kB / 0.5636 GB, free: 5.047 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1613, allocations: 0 / 0.5636 GB, free: 5.047 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.1615, allocations: 161.6 kB / 0.5637 GB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1615, allocations: 0 / 0.5637 GB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.651e-05/0.1616, allocations: 16.02 kB / 0.5637 GB, free: 4.824 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.1616, allocations: 0 / 0.5637 GB, free: 4.824 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.1616, allocations: 3.938 kB / 0.5637 GB, free: 4.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1616, allocations: 0 / 0.5637 GB, free: 4.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1616, allocations: 11.88 kB / 0.5637 GB, free: 4.809 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/0.1619, allocations: 179.5 kB / 0.5639 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.776e-05/0.162, allocations: 81.02 kB / 0.564 GB, free: 4.52 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.162, allocations: 3.984 kB / 0.564 GB, free: 4.516 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.894e-05/0.1621, allocations: 8 kB / 0.564 GB, free: 4.508 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.1621, allocations: 0 / 0.564 GB, free: 4.508 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.1621, allocations: 3.984 kB / 0.564 GB, free: 4.504 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.335e-05/0.1622, allocations: 91.31 kB / 0.5641 GB, free: 4.414 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1622, allocations: 0 / 0.5641 GB, free: 4.414 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002348/0.1625, allocations: 4 kB / 0.5641 GB, free: 4.41 MB / 430.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 (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.0006469/0.1631, allocations: 0.7163 MB / 0.5648 GB, free: 3.668 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002394/0.1634, allocations: 47.97 kB / 0.5648 GB, free: 3.621 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.1634, allocations: 4.094 kB / 0.5648 GB, free: 3.617 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.654e-05/0.1635, allocations: 27.97 kB / 0.5649 GB, free: 3.59 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.1638, allocations: 5.406 kB / 0.5649 GB, free: 3.586 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004439/0.1642, allocations: 154.3 kB / 0.565 GB, free: 3.398 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.1645, allocations: 0.6849 MB / 0.5657 GB, free: 2.688 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.465e-05/0.1645, allocations: 0 / 0.5657 GB, free: 2.688 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.1646, allocations: 7.438 kB / 0.5657 GB, free: 2.68 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1646, allocations: 0 / 0.5657 GB, free: 2.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01072/0.1753, allocations: 1.167 MB / 0.5668 GB, free: 1.637 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/0.1755, allocations: 187.3 kB / 0.567 GB, free: 1.383 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/1.93, allocations: 4 kB / 0.567 GB, free: 1.379 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1)