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.001292/0.001292, 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.001513/0.001513, allocations: 193.5 kB / 16.14 MB, free: 6.707 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.325/1.325, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002122/0.002122, allocations: 274.9 kB / 290.2 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9391/0.9391, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 91.61 kB / 0.5945 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1531, allocations: 86.98 MB / 0.6794 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.002766/0.1559, allocations: 1.498 MB / 0.6809 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003783/0.1563, allocations: 96.58 kB / 0.681 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.788e-05/0.1563, allocations: 0 / 0.681 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.615e-05/0.1564, allocations: 0 / 0.681 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.127e-05/0.1564, allocations: 7.922 kB / 0.681 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.1567, allocations: 16 kB / 0.681 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.921e-05/0.1568, allocations: 20.58 kB / 0.681 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1569, allocations: 8.781 kB / 0.681 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.412e-05/0.1569, allocations: 11.92 kB / 0.681 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.692e-05/0.157, allocations: 20.62 kB / 0.6811 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.157, allocations: 0 / 0.6811 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1571, allocations: 17.67 kB / 0.6811 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.243e-05/0.1572, allocations: 0 / 0.6811 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.492e-05/0.1572, allocations: 15.92 kB / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.1573, allocations: 31.91 kB / 0.6811 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1574, allocations: 4 kB / 0.6811 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1574, allocations: 0 / 0.6811 GB, free: 15.45 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.329e-06/0.1574, allocations: 0 / 0.6811 GB, free: 15.45 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.0004505/0.1578, allocations: 349.6 kB / 0.6815 GB, free: 15.06 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.1579, allocations: 8.031 kB / 0.6815 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.105e-05/0.1579, allocations: 4.938 kB / 0.6815 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.158, allocations: 168.3 kB / 0.6816 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.158, allocations: 4.312 kB / 0.6816 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.158, allocations: 4.312 kB / 0.6816 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.1582, allocations: 58.23 kB / 0.6817 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1582, allocations: 192 / 0.6817 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1583, allocations: 3.938 kB / 0.6817 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1583, allocations: 0 / 0.6817 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.1584, allocations: 35.95 kB / 0.6817 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003192/0.1588, allocations: 261 kB / 0.682 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.1589, allocations: 46.44 kB / 0.682 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.423e-05/0.159, allocations: 24.89 kB / 0.6821 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.159, allocations: 3.984 kB / 0.6821 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.1591, allocations: 38.56 kB / 0.6821 GB, free: 14.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1591, allocations: 0 / 0.6821 GB, free: 14.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000327/0.1594, allocations: 85.64 kB / 0.6822 GB, free: 14.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.1595, allocations: 55.34 kB / 0.6822 GB, free: 14.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.45e-05/0.1595, allocations: 109.8 kB / 0.6823 GB, free: 14.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.1596, allocations: 29.64 kB / 0.6824 GB, free: 13.99 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.26e-05/0.1596, allocations: 80.14 kB / 0.6824 GB, free: 13.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.1596, allocations: 11.97 kB / 0.6825 GB, free: 13.89 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.1597, allocations: 17.72 kB / 0.6825 GB, free: 13.87 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1598, allocations: 310.8 kB / 0.6828 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.539e-05/0.1599, allocations: 23.97 kB / 0.6828 GB, free: 13.54 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.343e-05/0.1599, allocations: 15.98 kB / 0.6828 GB, free: 13.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.1601, allocations: 48.88 kB / 0.6828 GB, free: 13.47 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1601, allocations: 0 / 0.6828 GB, free: 13.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002029/0.1603, allocations: 69.61 kB / 0.6829 GB, free: 13.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1603, allocations: 7.984 kB / 0.6829 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.1604, allocations: 3.938 kB / 0.6829 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1604, allocations: 0 / 0.6829 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.325e-05/0.1605, allocations: 8 kB / 0.6829 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1605, allocations: 0 / 0.6829 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.613e-05/0.1605, allocations: 12.02 kB / 0.6829 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.1605, allocations: 0 / 0.6829 GB, free: 13.36 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.417e-05/0.1606, allocations: 115.1 kB / 0.6831 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.1607, allocations: 7.906 kB / 0.6831 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/0.1609, allocations: 73.17 kB / 0.6831 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1609, allocations: 256 / 0.6831 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1609, allocations: 4.031 kB / 0.6831 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.161, allocations: 8 kB / 0.6831 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.1611, allocations: 165.6 kB / 0.6833 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1611, allocations: 0 / 0.6833 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.823e-05/0.1612, allocations: 11.94 kB / 0.6833 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.1612, allocations: 0 / 0.6833 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.1612, allocations: 3.938 kB / 0.6833 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1612, allocations: 0 / 0.6833 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.1612, allocations: 3.984 kB / 0.6833 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.1615, allocations: 171.5 kB / 0.6835 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.261e-05/0.1616, allocations: 81.02 kB / 0.6836 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.1616, allocations: 0 / 0.6836 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.5e-05/0.1617, allocations: 4 kB / 0.6836 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.1617, allocations: 7.984 kB / 0.6836 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.1617, allocations: 0 / 0.6836 GB, free: 12.62 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.204e-05/0.1618, allocations: 91.25 kB / 0.6837 GB, free: 12.53 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1618, allocations: 0 / 0.6837 GB, free: 12.53 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002234/0.162, allocations: 8 kB / 0.6837 GB, free: 12.52 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.0001735/0.1622, allocations: 103.2 kB / 0.6838 GB, free: 12.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002119/0.1624, allocations: 39.91 kB / 0.6838 GB, free: 12.38 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1624, allocations: 0 / 0.6838 GB, free: 12.38 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.71e-05/0.1625, allocations: 28.03 kB / 0.6838 GB, free: 12.35 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.1628, allocations: 10.05 kB / 0.6838 GB, free: 12.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003065/0.1631, allocations: 115.3 kB / 0.684 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.1634, allocations: 0.677 MB / 0.6846 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.29e-05/0.1635, allocations: 0 / 0.6846 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.086e-05/0.1635, allocations: 11.44 kB / 0.6846 GB, free: 11.49 MB / 494.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1635, allocations: 4.062 kB / 0.6846 GB, free: 11.48 MB / 494.1 MB Notification: Performance of Templates: time 0.002539/0.166, allocations: 488.9 kB / 0.6851 GB, free: 11.01 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)