Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0009213/0.0009214, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001473/0.001473, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9866/0.9866, allocations: 143.3 MB / 434.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004651, allocations: 16 kB / 0.5158 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1621, allocations: 83.42 MB / 0.5973 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial): time 0.001479/0.1636, allocations: 1.136 MB / 0.5984 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002406/0.1639, allocations: 96.62 kB / 0.5985 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.802e-05/0.1639, allocations: 0 / 0.5985 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.433e-05/0.164, allocations: 0 / 0.5985 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.256e-05/0.164, allocations: 7.922 kB / 0.5985 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.1642, allocations: 11.98 kB / 0.5985 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.094e-05/0.1643, allocations: 15.97 kB / 0.5985 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.968e-05/0.1644, allocations: 15.94 kB / 0.5985 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.037e-05/0.1644, allocations: 7.984 kB / 0.5985 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.314e-05/0.1644, allocations: 11.94 kB / 0.5986 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.846e-06/0.1645, allocations: 0 / 0.5986 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.207e-05/0.1645, allocations: 11.98 kB / 0.5986 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.1646, allocations: 7.984 kB / 0.5986 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.1646, allocations: 29.7 kB / 0.5986 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.438e-05/0.1647, allocations: 31.94 kB / 0.5986 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.1647, allocations: 0 / 0.5986 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1647, allocations: 4 kB / 0.5986 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.1647, allocations: 0 / 0.5986 GB, free: 6.395 MB / 0.4981 GB 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.0003826/0.1651, allocations: 339.5 kB / 0.599 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.1651, allocations: 12.03 kB / 0.599 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.624e-05/0.1652, allocations: 0 / 0.599 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.1653, allocations: 171 kB / 0.5991 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.1653, allocations: 4 kB / 0.5991 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.1653, allocations: 4 kB / 0.5991 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.1655, allocations: 57.67 kB / 0.5992 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1655, allocations: 0 / 0.5992 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.1655, allocations: 0 / 0.5992 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1655, allocations: 0 / 0.5992 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.1657, allocations: 51.95 kB / 0.5993 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003004/0.166, allocations: 256.8 kB / 0.5995 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.1662, allocations: 50.5 kB / 0.5995 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.1662, allocations: 0 / 0.5995 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.1662, allocations: 34.56 kB / 0.5996 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.1662, allocations: 7.875 kB / 0.5996 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003495/0.1666, allocations: 105.7 kB / 0.5997 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.1666, allocations: 59.33 kB / 0.5997 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.348e-05/0.1667, allocations: 105.8 kB / 0.5998 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.1667, allocations: 25.7 kB / 0.5999 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.096e-05/0.1668, allocations: 88.12 kB / 0.6 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.1668, allocations: 7.906 kB / 0.6 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.1668, allocations: 128 / 0.6 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.837e-05/0.1669, allocations: 314.8 kB / 0.6003 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.904e-05/0.167, allocations: 23.98 kB / 0.6003 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.391e-05/0.1671, allocations: 23.97 kB / 0.6003 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.3e-05/0.1672, allocations: 28.05 kB / 0.6003 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1672, allocations: 0 / 0.6003 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001919/0.1674, allocations: 77.66 kB / 0.6004 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1674, allocations: 8.031 kB / 0.6004 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.1674, allocations: 0 / 0.6004 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.1674, allocations: 0 / 0.6004 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.393e-05/0.1675, allocations: 11.98 kB / 0.6004 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1675, allocations: 3.938 kB / 0.6004 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.662e-05/0.1676, allocations: 11.94 kB / 0.6004 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1676, allocations: 3.953 kB / 0.6004 GB, free: 4.332 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.442e-05/0.1677, allocations: 121.8 kB / 0.6006 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.1677, allocations: 3.906 kB / 0.6006 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.1679, allocations: 89.17 kB / 0.6006 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.168, allocations: 256 / 0.6006 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.168, allocations: 4.031 kB / 0.6007 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.168, allocations: 4 kB / 0.6007 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.1681, allocations: 165.6 kB / 0.6008 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1681, allocations: 0 / 0.6008 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.9e-05/0.1682, allocations: 11.98 kB / 0.6008 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1682, allocations: 0 / 0.6008 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.1682, allocations: 0 / 0.6008 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.1682, allocations: 0 / 0.6008 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1682, allocations: 7.938 kB / 0.6008 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.1685, allocations: 179.5 kB / 0.601 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.835e-05/0.1685, allocations: 77.11 kB / 0.6011 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.1685, allocations: 3.938 kB / 0.6011 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.799e-05/0.1686, allocations: 16.02 kB / 0.6011 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.1687, allocations: 0 / 0.6011 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.1687, allocations: 0 / 0.6011 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.231e-05/0.1687, allocations: 91.27 kB / 0.6012 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1687, allocations: 0 / 0.6012 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002155/0.1689, allocations: 7.938 kB / 0.6012 GB, free: 3.461 MB / 0.4981 GB 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 (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.0001321/0.1691, allocations: 99.25 kB / 0.6013 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002039/0.1693, allocations: 59.89 kB / 0.6013 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1693, allocations: 0 / 0.6013 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.932e-05/0.1694, allocations: 28.05 kB / 0.6014 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.1696, allocations: 9.672 kB / 0.6014 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002345/0.1698, allocations: 112.6 kB / 0.6015 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.1701, allocations: 0.6887 MB / 0.6022 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.039e-05/0.1701, allocations: 0 / 0.6022 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.1701, allocations: 11.44 kB / 0.6022 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1701, allocations: 4.062 kB / 0.6022 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of Templates: time 0.002245/0.1724, allocations: 458.7 kB / 0.6026 GB, free: 1.957 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1) Environment - environmentSimulation: