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.001146/0.001146, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.294/1.294, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00206/0.00206, allocations: 288.8 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9206/0.9206, allocations: 169.2 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001754, allocations: 99.2 kB / 0.5952 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1471, allocations: 86.99 MB / 0.6802 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.002532/0.1497, allocations: 1.432 MB / 0.6816 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002757/0.1499, allocations: 100.6 kB / 0.6817 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.592e-05/0.15, allocations: 0 / 0.6817 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.032e-05/0.15, allocations: 0 / 0.6817 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.203e-05/0.1501, allocations: 3.938 kB / 0.6817 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.1503, allocations: 19.97 kB / 0.6817 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.929e-05/0.1504, allocations: 23.92 kB / 0.6817 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.598e-05/0.1505, allocations: 4 kB / 0.6817 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.876e-05/0.1505, allocations: 15.92 kB / 0.6817 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.108e-05/0.1506, allocations: 4 kB / 0.6817 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.1506, allocations: 4 kB / 0.6817 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.1507, allocations: 31.91 kB / 0.6818 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.528e-05/0.1508, allocations: 3.938 kB / 0.6818 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.1508, allocations: 11.94 kB / 0.6818 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.151, allocations: 35.94 kB / 0.6818 GB, free: 15.01 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.151, allocations: 3.938 kB / 0.6818 GB, free: 15.01 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.151, allocations: 0 / 0.6818 GB, free: 15.01 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.151, allocations: 0 / 0.6818 GB, free: 15.01 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.0004008/0.1514, allocations: 343.7 kB / 0.6822 GB, free: 14.62 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.1514, allocations: 16.03 kB / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.046e-05/0.1515, allocations: 0.9375 kB / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.1516, allocations: 172.3 kB / 0.6823 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1516, allocations: 384 / 0.6823 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-06/0.1516, allocations: 384 / 0.6823 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.1518, allocations: 50.23 kB / 0.6824 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1518, allocations: 4.125 kB / 0.6824 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1518, allocations: 3.938 kB / 0.6824 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1518, allocations: 4 kB / 0.6824 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.152, allocations: 39.95 kB / 0.6824 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003032/0.1523, allocations: 249 kB / 0.6827 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.1525, allocations: 46.48 kB / 0.6827 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.995e-05/0.1525, allocations: 24.91 kB / 0.6827 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.989e-05/0.1526, allocations: 4 kB / 0.6827 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.1526, allocations: 34.5 kB / 0.6828 GB, free: 13.87 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.1526, allocations: 0 / 0.6828 GB, free: 13.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003727/0.153, allocations: 85.64 kB / 0.6829 GB, free: 13.78 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.1531, allocations: 55.52 kB / 0.6829 GB, free: 13.71 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.554e-05/0.1532, allocations: 105.9 kB / 0.683 GB, free: 13.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.1532, allocations: 29.7 kB / 0.683 GB, free: 13.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.836e-05/0.1532, allocations: 88.12 kB / 0.6831 GB, free: 13.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.1533, allocations: 11.78 kB / 0.6831 GB, free: 13.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.1533, allocations: 13.72 kB / 0.6832 GB, free: 13.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1534, allocations: 310.8 kB / 0.6834 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.993e-05/0.1535, allocations: 19.98 kB / 0.6835 GB, free: 13.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.742e-05/0.1536, allocations: 27.91 kB / 0.6835 GB, free: 13.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.1538, allocations: 40.83 kB / 0.6835 GB, free: 13.04 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1538, allocations: 0 / 0.6835 GB, free: 13.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002/0.154, allocations: 69.59 kB / 0.6836 GB, free: 12.97 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.154, allocations: 12.09 kB / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.154, allocations: 0 / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.154, allocations: 3.938 kB / 0.6836 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.602e-05/0.1541, allocations: 7.984 kB / 0.6836 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1542, allocations: 0 / 0.6836 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.886e-05/0.1542, allocations: 7.984 kB / 0.6836 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1542, allocations: 4 kB / 0.6836 GB, free: 12.93 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 8.653e-05/0.1543, allocations: 115.1 kB / 0.6837 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.1543, allocations: 7.844 kB / 0.6838 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.1546, allocations: 81.19 kB / 0.6838 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1546, allocations: 3.984 kB / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1546, allocations: 256 / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1546, allocations: 0 / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.1548, allocations: 165.6 kB / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1548, allocations: 0 / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.917e-05/0.1549, allocations: 7.984 kB / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1549, allocations: 8.031 kB / 0.684 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.1549, allocations: 0 / 0.684 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1549, allocations: 0 / 0.684 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1549, allocations: 0 / 0.684 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.1552, allocations: 175.4 kB / 0.6842 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/0.1552, allocations: 81.02 kB / 0.6842 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.1552, allocations: 4.016 kB / 0.6843 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.28e-05/0.1553, allocations: 8 kB / 0.6843 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.1554, allocations: 0 / 0.6843 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.1554, allocations: 7.984 kB / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.124e-05/0.1554, allocations: 83.28 kB / 0.6843 GB, free: 12.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1554, allocations: 0 / 0.6843 GB, free: 12.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002314/0.1557, allocations: 8 kB / 0.6844 GB, free: 12.09 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.0001553/0.1558, allocations: 103.2 kB / 0.6845 GB, free: 11.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.1561, allocations: 47.95 kB / 0.6845 GB, free: 11.94 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1561, allocations: 3.938 kB / 0.6845 GB, free: 11.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.886e-05/0.1562, allocations: 19.97 kB / 0.6845 GB, free: 11.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.1565, allocations: 7.875 kB / 0.6845 GB, free: 11.91 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/0.1568, allocations: 121.7 kB / 0.6846 GB, free: 11.76 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.157, allocations: 0.6768 MB / 0.6853 GB, free: 11.06 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.298e-05/0.157, allocations: 4 kB / 0.6853 GB, free: 11.05 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.892e-05/0.1571, allocations: 11.38 kB / 0.6853 GB, free: 11.04 MB / 494.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1571, allocations: 0 / 0.6853 GB, free: 11.04 MB / 494.1 MB Notification: Performance of Templates: time 0.002533/0.1596, allocations: 0.54 MB / 0.6858 GB, free: 10.51 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)