Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008671/0.0008672, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.005158/0.005158, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.312/1.312, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001803/0.001803, allocations: 271 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.934/0.934, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004538/0.0004538, allocations: 14.69 kB / 0.5987 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1621, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.001435/0.1636, allocations: 1.155 MB / 0.6863 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002883/0.1639, allocations: 93.97 kB / 0.6863 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.79e-05/0.1639, allocations: 0 / 0.6863 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.305e-05/0.164, allocations: 0 / 0.6863 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.377e-05/0.164, allocations: 6.219 kB / 0.6863 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.1642, allocations: 19.92 kB / 0.6864 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.966e-05/0.1643, allocations: 15.98 kB / 0.6864 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.147e-05/0.1643, allocations: 8 kB / 0.6864 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.876e-05/0.1644, allocations: 15.91 kB / 0.6864 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.604e-05/0.1644, allocations: 13.12 kB / 0.6864 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.868e-06/0.1645, allocations: 0 / 0.6864 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.187e-05/0.1645, allocations: 19.97 kB / 0.6864 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.443e-05/0.1646, allocations: 4.5 kB / 0.6864 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.1646, allocations: 37.64 kB / 0.6865 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.44e-05/0.1647, allocations: 33.11 kB / 0.6865 GB, free: 13.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1647, allocations: 0 / 0.6865 GB, free: 13.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.1647, allocations: 0 / 0.6865 GB, free: 13.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.566e-06/0.1648, allocations: 5.406 kB / 0.6865 GB, free: 13.61 MB / 494.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.0003748/0.1651, allocations: 337.1 kB / 0.6868 GB, free: 13.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1652, allocations: 12.03 kB / 0.6868 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.1652, allocations: 4.844 kB / 0.6869 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.1653, allocations: 179.5 kB / 0.687 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1653, allocations: 4.375 kB / 0.687 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.1653, allocations: 384 / 0.687 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.1655, allocations: 58.17 kB / 0.6871 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.1655, allocations: 4.188 kB / 0.6871 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.1656, allocations: 4.562 kB / 0.6871 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1656, allocations: 0.5938 kB / 0.6871 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.1657, allocations: 50.02 kB / 0.6871 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003016/0.1661, allocations: 258.2 kB / 0.6874 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.1662, allocations: 56.77 kB / 0.6874 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.295e-05/0.1663, allocations: 27.09 kB / 0.6875 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.1663, allocations: 0 / 0.6875 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.1664, allocations: 30.56 kB / 0.6875 GB, free: 12.46 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.1664, allocations: 0.7812 kB / 0.6875 GB, free: 12.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003588/0.1667, allocations: 108.8 kB / 0.6876 GB, free: 12.35 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.1668, allocations: 52.62 kB / 0.6876 GB, free: 12.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.244e-05/0.1669, allocations: 101.9 kB / 0.6877 GB, free: 12.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.1669, allocations: 29.7 kB / 0.6878 GB, free: 12.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.1669, allocations: 92.91 kB / 0.6879 GB, free: 12.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.167, allocations: 7.844 kB / 0.6879 GB, free: 12.04 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/0.167, allocations: 14.25 kB / 0.6879 GB, free: 12.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.804e-05/0.1671, allocations: 315 kB / 0.6882 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.832e-05/0.1672, allocations: 23.97 kB / 0.6882 GB, free: 11.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.169e-05/0.1673, allocations: 23.98 kB / 0.6882 GB, free: 11.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.1675, allocations: 52.89 kB / 0.6883 GB, free: 11.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1675, allocations: 0 / 0.6883 GB, free: 11.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002031/0.1677, allocations: 89.59 kB / 0.6884 GB, free: 11.51 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.1677, allocations: 4 kB / 0.6884 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.706e-06/0.1677, allocations: 0 / 0.6884 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1677, allocations: 3.984 kB / 0.6884 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.165e-05/0.1678, allocations: 19.92 kB / 0.6884 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1678, allocations: 3.938 kB / 0.6884 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.78e-05/0.1679, allocations: 7.984 kB / 0.6884 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.1679, allocations: 4.031 kB / 0.6884 GB, free: 11.46 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 (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 7.097e-05/0.168, allocations: 115.1 kB / 0.6885 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.168, allocations: 3.906 kB / 0.6885 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.1682, allocations: 93.17 kB / 0.6886 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1682, allocations: 0 / 0.6886 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1683, allocations: 0 / 0.6886 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1683, allocations: 0 / 0.6886 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.1684, allocations: 161.6 kB / 0.6888 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1684, allocations: 0 / 0.6888 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.722e-05/0.1685, allocations: 11.98 kB / 0.6888 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1685, allocations: 0 / 0.6888 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.1685, allocations: 4 kB / 0.6888 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1685, allocations: 3.938 kB / 0.6888 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1685, allocations: 4.031 kB / 0.6888 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.1688, allocations: 175.5 kB / 0.689 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.039e-05/0.1688, allocations: 85.38 kB / 0.689 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.1688, allocations: 0 / 0.689 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.262e-05/0.1689, allocations: 19.94 kB / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.1689, allocations: 3.984 kB / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.169, allocations: 0 / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.53e-05/0.169, allocations: 83.28 kB / 0.6891 GB, free: 10.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.169, allocations: 0 / 0.6891 GB, free: 10.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002178/0.1692, allocations: 12 kB / 0.6892 GB, free: 10.61 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 (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.0001277/0.1694, allocations: 107.2 kB / 0.6893 GB, free: 10.49 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002221/0.1696, allocations: 47.91 kB / 0.6893 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1696, allocations: 0 / 0.6893 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.689e-05/0.1697, allocations: 32.03 kB / 0.6893 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.17, allocations: 9.656 kB / 0.6893 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.1703, allocations: 128.5 kB / 0.6895 GB, free: 10.26 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.1705, allocations: 0.677 MB / 0.6901 GB, free: 9.555 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.295e-05/0.1705, allocations: 8.062 kB / 0.6901 GB, free: 9.547 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.641e-05/0.1705, allocations: 7.438 kB / 0.6901 GB, free: 9.539 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1705, allocations: 0 / 0.6901 GB, free: 9.539 MB / 494.1 MB Notification: Performance of Templates: time 0.002426/0.173, allocations: 471 kB / 0.6906 GB, free: 9.082 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe 2>&1)