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.00163/0.00163, 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.00195/0.00195, allocations: 191.4 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.498/1.498, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002619/0.002619, allocations: 282.8 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.075/1.075, allocations: 178.6 MB / 0.5068 GB, free: 4.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002766/0.002766, allocations: 99.28 kB / 0.6057 GB, free: 25.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1621, allocations: 89.15 MB / 0.6928 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.002674/0.1648, allocations: 1.512 MB / 0.6943 GB, free: 3.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003105/0.1651, allocations: 88.66 kB / 0.6943 GB, free: 3.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.113e-05/0.1651, allocations: 0 / 0.6943 GB, free: 3.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.331e-05/0.1652, allocations: 7.922 kB / 0.6944 GB, free: 3.223 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.939e-05/0.1652, allocations: 0.625 kB / 0.6944 GB, free: 3.223 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.1654, allocations: 14.95 kB / 0.6944 GB, free: 3.211 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.619e-05/0.1655, allocations: 19.94 kB / 0.6944 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.089e-05/0.1656, allocations: 15.97 kB / 0.6944 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.696e-05/0.1656, allocations: 7.938 kB / 0.6944 GB, free: 3.168 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.734e-05/0.1657, allocations: 11.92 kB / 0.6944 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.1657, allocations: 4 kB / 0.6944 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.533e-05/0.1658, allocations: 21.17 kB / 0.6944 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.335e-05/0.1658, allocations: 0 / 0.6944 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.1658, allocations: 15.92 kB / 0.6945 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.166, allocations: 35.89 kB / 0.6945 GB, free: 3.082 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.166, allocations: 11.98 kB / 0.6945 GB, free: 3.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.166, allocations: 0 / 0.6945 GB, free: 3.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.985e-06/0.166, allocations: 0 / 0.6945 GB, free: 3.07 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.0004421/0.1664, allocations: 339.7 kB / 0.6948 GB, free: 2.688 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.1665, allocations: 12.03 kB / 0.6948 GB, free: 2.676 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.47e-05/0.1665, allocations: 0.9375 kB / 0.6948 GB, free: 2.676 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.1666, allocations: 168.3 kB / 0.695 GB, free: 2.473 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.1667, allocations: 384 / 0.695 GB, free: 2.473 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.1667, allocations: 384 / 0.695 GB, free: 2.473 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.1669, allocations: 58.23 kB / 0.6951 GB, free: 2.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.1669, allocations: 192 / 0.6951 GB, free: 2.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1669, allocations: 7.938 kB / 0.6951 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.1669, allocations: 0 / 0.6951 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002764/0.1672, allocations: 39.89 kB / 0.6951 GB, free: 2.363 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.1676, allocations: 257 kB / 0.6954 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.1677, allocations: 42.5 kB / 0.6954 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.318e-05/0.1678, allocations: 24.91 kB / 0.6954 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.542e-05/0.1678, allocations: 3.984 kB / 0.6954 GB, free: 1.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.1679, allocations: 34.5 kB / 0.6955 GB, free: 1.938 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.1679, allocations: 8 kB / 0.6955 GB, free: 1.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005316/0.1684, allocations: 81.64 kB / 0.6955 GB, free: 1.844 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.1685, allocations: 55.41 kB / 0.6956 GB, free: 1.777 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.1686, allocations: 109.8 kB / 0.6957 GB, free: 1.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.1687, allocations: 25.7 kB / 0.6957 GB, free: 1.629 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.205e-05/0.1687, allocations: 80.14 kB / 0.6958 GB, free: 1.547 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.1687, allocations: 11.97 kB / 0.6958 GB, free: 1.535 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.1688, allocations: 21.66 kB / 0.6958 GB, free: 1.508 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1689, allocations: 314.8 kB / 0.6961 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.914e-05/0.169, allocations: 19.98 kB / 0.6961 GB, free: 1.172 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.854e-05/0.1691, allocations: 19.98 kB / 0.6962 GB, free: 1.152 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.1693, allocations: 48.81 kB / 0.6962 GB, free: 1.102 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1693, allocations: 0 / 0.6962 GB, free: 1.102 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002078/0.1695, allocations: 73.5 kB / 0.6963 GB, free: 1.023 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1695, allocations: 8 kB / 0.6963 GB, free: 1.016 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1695, allocations: 0 / 0.6963 GB, free: 1.016 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.998e-06/0.1696, allocations: 0 / 0.6963 GB, free: 1.016 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.247e-05/0.1696, allocations: 4 kB / 0.6963 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.1697, allocations: 7.984 kB / 0.6963 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.484e-05/0.1697, allocations: 4.031 kB / 0.6963 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.1697, allocations: 4 kB / 0.6963 GB, free: 0.9961 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 0.0001222/0.1699, allocations: 113.8 kB / 0.6964 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.1699, allocations: 4 kB / 0.6964 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00024/0.1701, allocations: 81.11 kB / 0.6965 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1701, allocations: 0 / 0.6965 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1701, allocations: 4.031 kB / 0.6965 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.1702, allocations: 0 / 0.6965 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.1703, allocations: 165.6 kB / 0.6967 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1703, allocations: 0 / 0.6967 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.98e-05/0.1704, allocations: 11.98 kB / 0.6967 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.1704, allocations: 0 / 0.6967 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.1704, allocations: 3.984 kB / 0.6967 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1704, allocations: 256 / 0.6967 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.1704, allocations: 4 kB / 0.6967 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003589/0.1708, allocations: 179.3 kB / 0.6969 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.1709, allocations: 77.11 kB / 0.6969 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.1709, allocations: 0 / 0.6969 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.855e-05/0.171, allocations: 7.984 kB / 0.6969 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.171, allocations: 0 / 0.6969 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.171, allocations: 4 kB / 0.6969 GB, free: 260 kB / 494.1 MB Notification: Performance of sorting global known variables: time 5.438e-05/0.1711, allocations: 87.31 kB / 0.697 GB, free: 172 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1711, allocations: 0 / 0.697 GB, free: 172 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.000227/0.1713, allocations: 11.98 kB / 0.697 GB, free: 160 kB / 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.0001383/0.1714, allocations: 103.2 kB / 0.6971 GB, free: 48 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002142/0.1717, allocations: 39.95 kB / 0.6972 GB, free: 8 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1717, allocations: 3.938 kB / 0.6972 GB, free: 4 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.1718, allocations: 27.98 kB / 0.6972 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.1721, allocations: 7.938 kB / 0.6972 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002689/0.1724, allocations: 115.3 kB / 0.6973 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.1727, allocations: 0.677 MB / 0.698 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.208e-05/0.1727, allocations: 0 / 0.698 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.113e-05/0.1728, allocations: 15.5 kB / 0.698 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1728, allocations: 0 / 0.698 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of Templates: time 0.002899/0.1757, allocations: 480.6 kB / 0.6985 GB, free: 14.65 MB / 0.4981 GB 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)