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.001177/0.001177, allocations: 110.3 kB / 15.99 MB, free: 6.352 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.001165/0.001165, allocations: 199.5 kB / 16.91 MB, free: 6.188 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.187/1.187, allocations: 222.9 MB / 240.6 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001984/0.001984, allocations: 286.7 kB / 291 MB, free: 14.74 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8618/0.8618, allocations: 169.2 MB / 0.4985 GB, free: 4.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 98.5 kB / 0.5953 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.174, allocations: 86.98 MB / 0.6803 GB, free: 8.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.001775/0.1758, allocations: 0.6332 MB / 0.6809 GB, free: 7.926 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002048/0.1761, allocations: 35.88 kB / 0.6809 GB, free: 7.891 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.949e-06/0.1761, allocations: 4 kB / 0.6809 GB, free: 7.887 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.754e-05/0.1761, allocations: 0 / 0.6809 GB, free: 7.887 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.438e-06/0.1761, allocations: 7.938 kB / 0.6809 GB, free: 7.879 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.1764, allocations: 7.984 kB / 0.681 GB, free: 7.871 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.831e-05/0.1764, allocations: 4 kB / 0.681 GB, free: 7.867 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.1765, allocations: 3.984 kB / 0.681 GB, free: 7.863 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.269e-05/0.1765, allocations: 0 / 0.681 GB, free: 7.863 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.459e-05/0.1765, allocations: 4 kB / 0.681 GB, free: 7.859 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.987e-06/0.1765, allocations: 0 / 0.681 GB, free: 7.859 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.762e-05/0.1766, allocations: 23.92 kB / 0.681 GB, free: 7.836 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.245e-06/0.1766, allocations: 0 / 0.681 GB, free: 7.836 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.619e-05/0.1767, allocations: 0 / 0.681 GB, free: 7.836 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.409e-05/0.1767, allocations: 11.98 kB / 0.681 GB, free: 7.824 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1767, allocations: 0 / 0.681 GB, free: 7.824 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1768, allocations: 0 / 0.681 GB, free: 7.824 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.1768, allocations: 0 / 0.681 GB, free: 7.824 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.0003604/0.1771, allocations: 319.6 kB / 0.6813 GB, free: 7.461 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1772, allocations: 12.03 kB / 0.6813 GB, free: 7.449 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.1772, allocations: 0.9375 kB / 0.6813 GB, free: 7.449 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.403e-05/0.1773, allocations: 164.4 kB / 0.6815 GB, free: 7.25 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.1773, allocations: 4.375 kB / 0.6815 GB, free: 7.246 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.1773, allocations: 4.359 kB / 0.6815 GB, free: 7.242 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.822e-05/0.1775, allocations: 38.25 kB / 0.6815 GB, free: 7.199 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.1775, allocations: 192 / 0.6815 GB, free: 7.199 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1775, allocations: 3.938 kB / 0.6815 GB, free: 7.195 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1775, allocations: 3.938 kB / 0.6815 GB, free: 7.191 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.986e-05/0.1775, allocations: 3.938 kB / 0.6815 GB, free: 7.188 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001517/0.1777, allocations: 145.7 kB / 0.6817 GB, free: 6.996 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.742e-05/0.1777, allocations: 18.58 kB / 0.6817 GB, free: 6.969 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.755e-05/0.1777, allocations: 12.95 kB / 0.6817 GB, free: 6.953 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.1778, allocations: 0 / 0.6817 GB, free: 6.953 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.1778, allocations: 34.55 kB / 0.6817 GB, free: 6.91 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.1778, allocations: 0 / 0.6817 GB, free: 6.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000116/0.1779, allocations: 41.58 kB / 0.6818 GB, free: 6.863 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.178, allocations: 51.41 kB / 0.6818 GB, free: 6.801 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.317e-05/0.178, allocations: 93.8 kB / 0.6819 GB, free: 6.699 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.178, allocations: 25.7 kB / 0.6819 GB, free: 6.668 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.913e-05/0.1781, allocations: 84.27 kB / 0.682 GB, free: 6.582 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.1781, allocations: 4 kB / 0.682 GB, free: 6.578 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.1781, allocations: 13.72 kB / 0.682 GB, free: 6.559 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.346e-05/0.1782, allocations: 314.8 kB / 0.6823 GB, free: 6.242 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.205e-06/0.1782, allocations: 0 / 0.6823 GB, free: 6.242 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.266e-06/0.1783, allocations: 4 kB / 0.6823 GB, free: 6.238 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.298e-05/0.1783, allocations: 4.859 kB / 0.6823 GB, free: 6.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1783, allocations: 4.062 kB / 0.6823 GB, free: 6.227 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.21e-05/0.1784, allocations: 45.64 kB / 0.6824 GB, free: 6.176 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1784, allocations: 4 kB / 0.6824 GB, free: 6.172 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.1784, allocations: 0 / 0.6824 GB, free: 6.172 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1784, allocations: 3.938 kB / 0.6824 GB, free: 6.168 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.947e-05/0.1784, allocations: 7.984 kB / 0.6824 GB, free: 6.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/0.1785, allocations: 0 / 0.6824 GB, free: 6.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.168e-05/0.1785, allocations: 288 / 0.6824 GB, free: 6.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.1785, allocations: 0 / 0.6824 GB, free: 6.16 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 6.377e-05/0.1786, allocations: 113.9 kB / 0.6825 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-06/0.1786, allocations: 0 / 0.6825 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.1787, allocations: 52.62 kB / 0.6826 GB, free: 5.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1787, allocations: 0 / 0.6826 GB, free: 5.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.1787, allocations: 4 kB / 0.6826 GB, free: 5.977 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.1787, allocations: 0 / 0.6826 GB, free: 5.977 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.131e-05/0.1788, allocations: 141.7 kB / 0.6827 GB, free: 5.789 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1788, allocations: 4.031 kB / 0.6827 GB, free: 5.785 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.946e-05/0.1788, allocations: 7.938 kB / 0.6827 GB, free: 5.777 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1788, allocations: 0 / 0.6827 GB, free: 5.777 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.1788, allocations: 7.922 kB / 0.6827 GB, free: 5.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1788, allocations: 0 / 0.6827 GB, free: 5.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.1789, allocations: 0 / 0.6827 GB, free: 5.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.014e-05/0.1789, allocations: 57.14 kB / 0.6828 GB, free: 5.695 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.904e-05/0.179, allocations: 77.11 kB / 0.6828 GB, free: 5.602 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.179, allocations: 11.95 kB / 0.6829 GB, free: 5.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.105e-05/0.179, allocations: 0 / 0.6829 GB, free: 5.59 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.017e-06/0.179, allocations: 0 / 0.6829 GB, free: 5.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.179, allocations: 4 kB / 0.6829 GB, free: 5.586 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.317e-05/0.179, allocations: 79.22 kB / 0.6829 GB, free: 5.508 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.179, allocations: 0 / 0.6829 GB, free: 5.508 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001859/0.1792, allocations: 4 kB / 0.6829 GB, free: 5.504 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.0001297/0.1794, allocations: 99.25 kB / 0.683 GB, free: 5.395 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.829e-05/0.1794, allocations: 8 kB / 0.683 GB, free: 5.387 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1794, allocations: 3.938 kB / 0.683 GB, free: 5.383 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.047e-06/0.1795, allocations: 7.984 kB / 0.6831 GB, free: 5.375 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001177/0.1796, allocations: 2.391 kB / 0.6831 GB, free: 5.375 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001816/0.1798, allocations: 110.7 kB / 0.6832 GB, free: 5.234 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.18, allocations: 0.669 MB / 0.6838 GB, free: 4.539 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/0.1801, allocations: 7.562 kB / 0.6838 GB, free: 4.531 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1801, allocations: 4 kB / 0.6838 GB, free: 4.527 MB / 494.1 MB Notification: Performance of Templates: time 0.001536/0.1816, allocations: 463 kB / 0.6843 GB, free: 4.078 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)