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.006331/0.006331, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001392/0.001392, allocations: 193.2 kB / 16.67 MB, free: 5.938 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002217/0.002217, allocations: 278.4 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9298/0.9298, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 104.1 kB / 0.6815 GB, free: 15.44 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1658, allocations: 86.97 MB / 0.7664 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.001641/0.1675, allocations: 0.5683 MB / 0.767 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002653/0.1677, allocations: 39.88 kB / 0.767 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.447e-05/0.1678, allocations: 4 kB / 0.767 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.317e-05/0.1678, allocations: 4 kB / 0.767 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.961e-06/0.1678, allocations: 0 / 0.767 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.1681, allocations: 15.92 kB / 0.767 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.554e-05/0.1682, allocations: 7.938 kB / 0.7671 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.493e-05/0.1682, allocations: 3.984 kB / 0.7671 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.626e-05/0.1682, allocations: 3.938 kB / 0.7671 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.105e-05/0.1683, allocations: 0 / 0.7671 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.918e-06/0.1683, allocations: 0 / 0.7671 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.486e-05/0.1684, allocations: 15.98 kB / 0.7671 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.486e-06/0.1684, allocations: 4 kB / 0.7671 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.839e-05/0.1684, allocations: 4 kB / 0.7671 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.939e-05/0.1685, allocations: 15.97 kB / 0.7671 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1686, allocations: 0 / 0.7671 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1686, allocations: 0 / 0.7671 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.1686, allocations: 0 / 0.7671 GB, free: 7.707 MB / 0.5606 GB 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.000313/0.1689, allocations: 315.5 kB / 0.7674 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.1689, allocations: 12.06 kB / 0.7674 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.169, allocations: 4.938 kB / 0.7674 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.195e-05/0.1691, allocations: 164.3 kB / 0.7676 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1691, allocations: 4.375 kB / 0.7676 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.1691, allocations: 4.359 kB / 0.7676 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.596e-05/0.1692, allocations: 34.25 kB / 0.7676 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.1692, allocations: 192 / 0.7676 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.1692, allocations: 3.938 kB / 0.7676 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1692, allocations: 0 / 0.7676 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.126e-05/0.1693, allocations: 4 kB / 0.7676 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001254/0.1694, allocations: 141.7 kB / 0.7678 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.331e-05/0.1694, allocations: 30.45 kB / 0.7678 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.1695, allocations: 12.94 kB / 0.7678 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/0.1695, allocations: 0 / 0.7678 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.1695, allocations: 30.56 kB / 0.7678 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 6.21e-07/0.1695, allocations: 0 / 0.7678 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001411/0.1697, allocations: 37.64 kB / 0.7679 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.1697, allocations: 51.41 kB / 0.7679 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.689e-05/0.1698, allocations: 93.98 kB / 0.768 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.1698, allocations: 29.7 kB / 0.768 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.558e-05/0.1698, allocations: 84.08 kB / 0.7681 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.1699, allocations: 3.953 kB / 0.7681 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.1699, allocations: 17.7 kB / 0.7681 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.17, allocations: 310.8 kB / 0.7684 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.17, allocations: 0 / 0.7684 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.679e-05/0.1701, allocations: 4 kB / 0.7684 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.524e-05/0.1701, allocations: 8.922 kB / 0.7684 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1701, allocations: 0 / 0.7684 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.921e-05/0.1701, allocations: 37.7 kB / 0.7685 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.1702, allocations: 7.938 kB / 0.7685 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1702, allocations: 3.984 kB / 0.7685 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.1702, allocations: 3.938 kB / 0.7685 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.419e-05/0.1702, allocations: 7.938 kB / 0.7685 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1703, allocations: 0 / 0.7685 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.149e-05/0.1703, allocations: 0 / 0.7685 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.1703, allocations: 4.031 kB / 0.7685 GB, free: 6.043 MB / 0.5606 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 (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 5.523e-05/0.1704, allocations: 110.5 kB / 0.7686 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.242e-06/0.1704, allocations: 0 / 0.7686 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.1705, allocations: 44.75 kB / 0.7686 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.1705, allocations: 4 kB / 0.7687 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1705, allocations: 0 / 0.7687 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-06/0.1705, allocations: 4.031 kB / 0.7687 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.154e-05/0.1706, allocations: 141.7 kB / 0.7688 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1706, allocations: 4 kB / 0.7688 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.88e-05/0.1706, allocations: 7.984 kB / 0.7688 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1706, allocations: 0 / 0.7688 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.1706, allocations: 3.938 kB / 0.7688 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1706, allocations: 3.938 kB / 0.7688 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.317e-06/0.1706, allocations: 3.938 kB / 0.7688 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.054e-05/0.1707, allocations: 61.14 kB / 0.7689 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.859e-05/0.1707, allocations: 81.09 kB / 0.7689 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.1708, allocations: 3.938 kB / 0.769 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.015e-05/0.1708, allocations: 0 / 0.769 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.254e-05/0.1708, allocations: 0 / 0.769 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.1708, allocations: 4 kB / 0.769 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.885e-05/0.1708, allocations: 75.28 kB / 0.769 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1708, allocations: 0 / 0.769 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001972/0.171, allocations: 7.938 kB / 0.769 GB, free: 5.395 MB / 0.5606 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 (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.0001261/0.1712, allocations: 103.3 kB / 0.7691 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.439e-05/0.1712, allocations: 11.92 kB / 0.7691 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1712, allocations: 0 / 0.7691 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.097e-06/0.1713, allocations: 8 kB / 0.7692 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001145/0.1714, allocations: 0 / 0.7692 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001525/0.1715, allocations: 73.06 kB / 0.7692 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.1717, allocations: 0.6728 MB / 0.7699 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.917e-05/0.1718, allocations: 16.09 kB / 0.7699 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.671e-05/0.1718, allocations: 7.438 kB / 0.7699 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.1718, allocations: 0 / 0.7699 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of Templates: time 0.001945/0.1738, allocations: 293.9 kB / 0.7702 GB, free: 4.156 MB / 0.5606 GB 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)