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.001289/0.001289, 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.001457/0.001457, allocations: 196.9 kB / 16.14 MB, free: 6.715 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.429/1.429, 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.002586/0.002586, allocations: 275.1 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.1/1.1, allocations: 178.6 MB / 0.5068 GB, free: 4.781 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002761/0.002761, allocations: 104.1 kB / 0.6057 GB, free: 25.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1602, allocations: 89.14 MB / 0.6928 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.002124/0.1623, allocations: 0.653 MB / 0.6934 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003032/0.1627, allocations: 39.88 kB / 0.6935 GB, free: 4.148 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.362e-05/0.1627, allocations: 0 / 0.6935 GB, free: 4.148 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.821e-05/0.1627, allocations: 0 / 0.6935 GB, free: 4.148 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.282e-06/0.1627, allocations: 0 / 0.6935 GB, free: 4.148 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.163, allocations: 7.984 kB / 0.6935 GB, free: 4.141 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.502e-05/0.1631, allocations: 11.98 kB / 0.6935 GB, free: 4.129 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.1631, allocations: 0 / 0.6935 GB, free: 4.129 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.747e-05/0.1631, allocations: 0 / 0.6935 GB, free: 4.129 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.376e-05/0.1632, allocations: 8 kB / 0.6935 GB, free: 4.121 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.1632, allocations: 0 / 0.6935 GB, free: 4.121 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.1633, allocations: 15.92 kB / 0.6935 GB, free: 4.105 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.038e-05/0.1633, allocations: 4 kB / 0.6935 GB, free: 4.102 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.1634, allocations: 3.984 kB / 0.6935 GB, free: 4.098 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.665e-05/0.1635, allocations: 11.98 kB / 0.6935 GB, free: 4.086 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.806e-06/0.1635, allocations: 4 kB / 0.6935 GB, free: 4.082 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1635, allocations: 3.938 kB / 0.6935 GB, free: 4.078 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1635, allocations: 0 / 0.6935 GB, free: 4.078 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003562/0.1639, allocations: 317.3 kB / 0.6938 GB, free: 3.719 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.1639, allocations: 12.03 kB / 0.6939 GB, free: 3.707 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/0.1639, allocations: 0.9375 kB / 0.6939 GB, free: 3.707 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.1641, allocations: 160.4 kB / 0.694 GB, free: 3.512 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.1641, allocations: 384 / 0.694 GB, free: 3.512 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.285e-06/0.1641, allocations: 384 / 0.694 GB, free: 3.512 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.1642, allocations: 34.25 kB / 0.694 GB, free: 3.473 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.1642, allocations: 192 / 0.694 GB, free: 3.473 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.1643, allocations: 3.938 kB / 0.694 GB, free: 3.469 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1643, allocations: 3.938 kB / 0.694 GB, free: 3.465 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.081e-05/0.1643, allocations: 8 kB / 0.6941 GB, free: 3.457 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.1645, allocations: 149.7 kB / 0.6942 GB, free: 3.262 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.192e-05/0.1645, allocations: 22.61 kB / 0.6942 GB, free: 3.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.796e-05/0.1645, allocations: 8.859 kB / 0.6942 GB, free: 3.219 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.627e-05/0.1646, allocations: 3.984 kB / 0.6942 GB, free: 3.215 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.1646, allocations: 30.56 kB / 0.6943 GB, free: 3.176 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.1646, allocations: 4 kB / 0.6943 GB, free: 3.172 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001437/0.1648, allocations: 49.56 kB / 0.6943 GB, free: 3.117 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.1648, allocations: 51.41 kB / 0.6944 GB, free: 3.055 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.338e-05/0.1649, allocations: 89.86 kB / 0.6944 GB, free: 2.957 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.1649, allocations: 25.7 kB / 0.6945 GB, free: 2.926 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.168e-05/0.1649, allocations: 80.14 kB / 0.6945 GB, free: 2.844 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.165, allocations: 3.906 kB / 0.6946 GB, free: 2.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/0.165, allocations: 13.72 kB / 0.6946 GB, free: 2.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1651, allocations: 319 kB / 0.6949 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.073e-05/0.1652, allocations: 0 / 0.6949 GB, free: 2.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.121e-06/0.1652, allocations: 4 kB / 0.6949 GB, free: 2.496 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.93e-05/0.1652, allocations: 16.78 kB / 0.6949 GB, free: 2.477 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1652, allocations: 0 / 0.6949 GB, free: 2.477 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.21e-05/0.1653, allocations: 29.7 kB / 0.6949 GB, free: 2.441 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.1653, allocations: 4 kB / 0.6949 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1653, allocations: 0 / 0.6949 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.1653, allocations: 7.938 kB / 0.6949 GB, free: 2.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.879e-05/0.1654, allocations: 8.031 kB / 0.6949 GB, free: 2.422 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.1654, allocations: 0 / 0.6949 GB, free: 2.422 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.212e-05/0.1654, allocations: 0 / 0.6949 GB, free: 2.422 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.1654, allocations: 4 kB / 0.6949 GB, free: 2.418 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 7.622e-05/0.1655, allocations: 113.8 kB / 0.695 GB, free: 2.297 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-06/0.1655, allocations: 0 / 0.695 GB, free: 2.297 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.1656, allocations: 48.7 kB / 0.6951 GB, free: 2.246 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1656, allocations: 0 / 0.6951 GB, free: 2.246 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.1657, allocations: 7.984 kB / 0.6951 GB, free: 2.238 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1657, allocations: 0 / 0.6951 GB, free: 2.238 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.1658, allocations: 142 kB / 0.6952 GB, free: 2.051 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1658, allocations: 0 / 0.6952 GB, free: 2.051 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.771e-05/0.1658, allocations: 4 kB / 0.6952 GB, free: 2.047 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1658, allocations: 0 / 0.6952 GB, free: 2.047 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.1658, allocations: 7.938 kB / 0.6952 GB, free: 2.039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.1658, allocations: 0 / 0.6952 GB, free: 2.039 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1659, allocations: 0 / 0.6952 GB, free: 2.039 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.839e-05/0.166, allocations: 61.16 kB / 0.6953 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.166, allocations: 77.11 kB / 0.6954 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.166, allocations: 7.875 kB / 0.6954 GB, free: 1.859 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.075e-05/0.166, allocations: 0 / 0.6954 GB, free: 1.859 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.1661, allocations: 7.938 kB / 0.6954 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.1661, allocations: 3.984 kB / 0.6954 GB, free: 1.848 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.007e-05/0.1661, allocations: 79.31 kB / 0.6955 GB, free: 1.77 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1661, allocations: 4 kB / 0.6955 GB, free: 1.766 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001928/0.1663, allocations: 4 kB / 0.6955 GB, free: 1.762 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.0001931/0.1665, allocations: 107.2 kB / 0.6956 GB, free: 1.645 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.219e-05/0.1666, allocations: 4 kB / 0.6956 GB, free: 1.641 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1666, allocations: 0 / 0.6956 GB, free: 1.641 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.053e-06/0.1666, allocations: 0 / 0.6956 GB, free: 1.641 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.1668, allocations: 4.938 kB / 0.6956 GB, free: 1.637 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002224/0.167, allocations: 88.7 kB / 0.6957 GB, free: 1.527 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.1674, allocations: 0.6731 MB / 0.6963 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.21e-05/0.1674, allocations: 4 kB / 0.6963 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.1674, allocations: 7.438 kB / 0.6963 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1674, allocations: 0 / 0.6963 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of Templates: time 0.002504/0.17, allocations: 292.6 kB / 0.6966 GB, free: 0.5312 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)