Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001103/0.001103, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001171/0.001171, allocations: 199.2 kB / 16.14 MB, free: 6.707 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.338/1.338, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002025/0.002025, allocations: 274.9 kB / 290.2 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9485/0.9485, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 99.7 kB / 0.5945 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1595, allocations: 86.99 MB / 0.6795 GB, free: 1.184 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.001685/0.1613, allocations: 0.6357 MB / 0.6801 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002282/0.1615, allocations: 37.78 kB / 0.6801 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.128e-06/0.1615, allocations: 0 / 0.6801 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.202e-05/0.1615, allocations: 3.938 kB / 0.6801 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.538e-06/0.1616, allocations: 4 kB / 0.6801 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.1618, allocations: 11.98 kB / 0.6801 GB, free: 0.5 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 2.829e-05/0.1618, allocations: 4 kB / 0.6801 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.436e-05/0.1618, allocations: 4 kB / 0.6801 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.27e-05/0.1619, allocations: 0 / 0.6801 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.439e-05/0.1619, allocations: 0 / 0.6801 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.286e-06/0.1619, allocations: 0 / 0.6801 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.004e-05/0.162, allocations: 23.91 kB / 0.6802 GB, free: 480 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.995e-06/0.162, allocations: 0 / 0.6802 GB, free: 480 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.556e-05/0.162, allocations: 0 / 0.6802 GB, free: 480 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 7.427e-05/0.1621, allocations: 19.97 kB / 0.6802 GB, free: 460 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1621, allocations: 0 / 0.6802 GB, free: 460 kB / 478.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1621, allocations: 3.938 kB / 0.6802 GB, free: 456 kB / 478.1 MB Notification: Performance of Transformations before backend: time 2.886e-06/0.1621, allocations: 4 kB / 0.6802 GB, free: 452 kB / 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.0002788/0.1624, allocations: 315.6 kB / 0.6805 GB, free: 84 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1625, allocations: 12.03 kB / 0.6805 GB, free: 72 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.388e-05/0.1625, allocations: 0.9375 kB / 0.6805 GB, free: 72 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.567e-05/0.1626, allocations: 160.4 kB / 0.6807 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.402e-06/0.1626, allocations: 384 / 0.6807 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.1626, allocations: 384 / 0.6807 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.544e-05/0.1627, allocations: 38.25 kB / 0.6807 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.471e-06/0.1627, allocations: 4.188 kB / 0.6807 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.1627, allocations: 3.938 kB / 0.6807 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1627, allocations: 3.938 kB / 0.6807 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.703e-05/0.1628, allocations: 0 / 0.6807 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001226/0.1629, allocations: 145.7 kB / 0.6808 GB, free: 15.63 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.577e-05/0.1629, allocations: 18.58 kB / 0.6809 GB, free: 15.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.689e-05/0.1629, allocations: 8.953 kB / 0.6809 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.163, allocations: 4 kB / 0.6809 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.163, allocations: 38.55 kB / 0.6809 GB, free: 15.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.163, allocations: 0 / 0.6809 GB, free: 15.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001093/0.1631, allocations: 41.58 kB / 0.6809 GB, free: 15.49 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.1632, allocations: 51.41 kB / 0.681 GB, free: 15.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.939e-05/0.1632, allocations: 89.86 kB / 0.6811 GB, free: 15.33 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.1632, allocations: 25.7 kB / 0.6811 GB, free: 15.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.206e-05/0.1632, allocations: 80.14 kB / 0.6812 GB, free: 15.22 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.1633, allocations: 128 / 0.6812 GB, free: 15.22 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.1633, allocations: 21.72 kB / 0.6812 GB, free: 15.19 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1634, allocations: 314.8 kB / 0.6815 GB, free: 14.88 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.937e-06/0.1634, allocations: 0 / 0.6815 GB, free: 14.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.394e-06/0.1634, allocations: 4 kB / 0.6815 GB, free: 14.87 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.544e-05/0.1635, allocations: 12.73 kB / 0.6815 GB, free: 14.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1635, allocations: 0 / 0.6815 GB, free: 14.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.16e-05/0.1635, allocations: 33.7 kB / 0.6816 GB, free: 14.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.1636, allocations: 8.094 kB / 0.6816 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.1636, allocations: 0 / 0.6816 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.1636, allocations: 3.938 kB / 0.6816 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.679e-05/0.1636, allocations: 11.92 kB / 0.6816 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.1636, allocations: 0 / 0.6816 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.163e-05/0.1637, allocations: 288 / 0.6816 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.1637, allocations: 3.984 kB / 0.6816 GB, free: 14.79 MB / 494.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 6.234e-05/0.1637, allocations: 115.2 kB / 0.6817 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-06/0.1638, allocations: 0 / 0.6817 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.242e-05/0.1639, allocations: 52.62 kB / 0.6817 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1639, allocations: 4 kB / 0.6817 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1639, allocations: 4 kB / 0.6817 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.1639, allocations: 0 / 0.6817 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.868e-05/0.164, allocations: 145.7 kB / 0.6819 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.164, allocations: 0 / 0.6819 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.723e-05/0.164, allocations: 4 kB / 0.6819 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.164, allocations: 4.031 kB / 0.6819 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.164, allocations: 7.922 kB / 0.6819 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.164, allocations: 0 / 0.6819 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.164, allocations: 0 / 0.6819 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.364e-05/0.1641, allocations: 53.14 kB / 0.682 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.529e-05/0.1641, allocations: 85.02 kB / 0.682 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.1641, allocations: 11.86 kB / 0.682 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.067e-05/0.1642, allocations: 0 / 0.682 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.477e-06/0.1642, allocations: 4.031 kB / 0.682 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.1642, allocations: 4 kB / 0.6821 GB, free: 14.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.216e-05/0.1642, allocations: 75.28 kB / 0.6821 GB, free: 14.13 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1642, allocations: 0 / 0.6821 GB, free: 14.13 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001863/0.1644, allocations: 4 kB / 0.6821 GB, free: 14.12 MB / 494.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.0001258/0.1645, allocations: 99.25 kB / 0.6822 GB, free: 14.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.103e-05/0.1646, allocations: 4 kB / 0.6822 GB, free: 14.01 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1646, allocations: 4.062 kB / 0.6822 GB, free: 14.01 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.999e-06/0.1646, allocations: 7.984 kB / 0.6822 GB, free: 14 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001176/0.1647, allocations: 0 / 0.6822 GB, free: 14 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001556/0.1649, allocations: 82.7 kB / 0.6823 GB, free: 13.89 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.1651, allocations: 0.6731 MB / 0.683 GB, free: 13.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.522e-05/0.1652, allocations: 64 / 0.683 GB, free: 13.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.92e-05/0.1652, allocations: 15.44 kB / 0.683 GB, free: 13.18 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1652, allocations: 3.938 kB / 0.683 GB, free: 13.18 MB / 494.1 MB Notification: Performance of Templates: time 0.001913/0.1671, allocations: 283.3 kB / 0.6833 GB, free: 12.91 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)