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.001038/0.001042, allocations: 110.6 kB / 16.37 MB, free: 6.012 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.001102/0.001102, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.259/1.259, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002036/0.002036, allocations: 283.5 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9002/0.9002, allocations: 169.2 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 98.91 kB / 0.5967 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1452, allocations: 86.96 MB / 0.6816 GB, free: 7.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.002308/0.1476, allocations: 1.442 MB / 0.683 GB, free: 6.047 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002458/0.1478, allocations: 84.66 kB / 0.6831 GB, free: 5.961 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.488e-05/0.1479, allocations: 0 / 0.6831 GB, free: 5.961 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.137e-05/0.1479, allocations: 7.938 kB / 0.6831 GB, free: 5.953 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.244e-05/0.148, allocations: 3.938 kB / 0.6831 GB, free: 5.949 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.1482, allocations: 15.97 kB / 0.6831 GB, free: 5.934 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.655e-05/0.1482, allocations: 27.92 kB / 0.6831 GB, free: 5.906 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.167e-05/0.1483, allocations: 11.98 kB / 0.6832 GB, free: 5.895 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.479e-05/0.1484, allocations: 15.94 kB / 0.6832 GB, free: 5.879 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.472e-05/0.1484, allocations: 11.92 kB / 0.6832 GB, free: 5.867 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.1484, allocations: 4 kB / 0.6832 GB, free: 5.863 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.25e-05/0.1485, allocations: 15.98 kB / 0.6832 GB, free: 5.848 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.221e-05/0.1485, allocations: 8 kB / 0.6832 GB, free: 5.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.361e-05/0.1486, allocations: 7.922 kB / 0.6832 GB, free: 5.832 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.752e-05/0.1487, allocations: 43.81 kB / 0.6833 GB, free: 5.789 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1487, allocations: 0 / 0.6833 GB, free: 5.789 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1487, allocations: 0 / 0.6833 GB, free: 5.789 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.1487, allocations: 0 / 0.6833 GB, free: 5.789 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.0003922/0.1491, allocations: 351.3 kB / 0.6836 GB, free: 5.395 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.1491, allocations: 8.031 kB / 0.6836 GB, free: 5.387 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.1492, allocations: 4.938 kB / 0.6836 GB, free: 5.383 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.1493, allocations: 160.4 kB / 0.6838 GB, free: 5.188 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.1493, allocations: 4.375 kB / 0.6838 GB, free: 5.184 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.1493, allocations: 4.375 kB / 0.6838 GB, free: 5.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.1495, allocations: 50.23 kB / 0.6838 GB, free: 5.125 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1496, allocations: 192 / 0.6838 GB, free: 5.125 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1496, allocations: 7.938 kB / 0.6838 GB, free: 5.117 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1496, allocations: 0 / 0.6838 GB, free: 5.117 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.1498, allocations: 43.89 kB / 0.6839 GB, free: 5.074 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/0.1501, allocations: 252.9 kB / 0.6841 GB, free: 4.777 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.1503, allocations: 38.5 kB / 0.6841 GB, free: 4.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.737e-05/0.1504, allocations: 32.89 kB / 0.6842 GB, free: 4.695 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.394e-05/0.1504, allocations: 4 kB / 0.6842 GB, free: 4.691 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.1504, allocations: 30.56 kB / 0.6842 GB, free: 4.652 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.415e-06/0.1504, allocations: 3.984 kB / 0.6842 GB, free: 4.648 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003417/0.1508, allocations: 89.58 kB / 0.6843 GB, free: 4.555 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.1508, allocations: 55.53 kB / 0.6843 GB, free: 4.488 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.844e-05/0.1509, allocations: 109.8 kB / 0.6844 GB, free: 4.371 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.151, allocations: 25.7 kB / 0.6845 GB, free: 4.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.33e-05/0.151, allocations: 88.14 kB / 0.6846 GB, free: 4.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.151, allocations: 7.844 kB / 0.6846 GB, free: 4.242 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-05/0.1511, allocations: 13.72 kB / 0.6846 GB, free: 4.223 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1512, allocations: 318.8 kB / 0.6849 GB, free: 3.902 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.413e-05/0.1513, allocations: 19.98 kB / 0.6849 GB, free: 3.883 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.672e-05/0.1514, allocations: 15.98 kB / 0.6849 GB, free: 3.867 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.1515, allocations: 40.81 kB / 0.685 GB, free: 3.824 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1515, allocations: 7.938 kB / 0.685 GB, free: 3.816 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001761/0.1517, allocations: 77.66 kB / 0.685 GB, free: 3.734 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1517, allocations: 4 kB / 0.685 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1518, allocations: 0 / 0.685 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.1518, allocations: 4 kB / 0.685 GB, free: 3.727 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.96e-05/0.1519, allocations: 8.234 kB / 0.6851 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1519, allocations: 0 / 0.6851 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.288e-05/0.1519, allocations: 8 kB / 0.6851 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.1519, allocations: 0 / 0.6851 GB, free: 3.711 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 7.625e-05/0.152, allocations: 121.8 kB / 0.6852 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.1521, allocations: 3.906 kB / 0.6852 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002122/0.1523, allocations: 81.12 kB / 0.6853 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1523, allocations: 0 / 0.6853 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1523, allocations: 0 / 0.6853 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1523, allocations: 3.938 kB / 0.6853 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.1525, allocations: 165.6 kB / 0.6854 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1525, allocations: 0 / 0.6854 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.354e-05/0.1525, allocations: 12.02 kB / 0.6854 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1525, allocations: 0 / 0.6854 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.1526, allocations: 4 kB / 0.6854 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.1526, allocations: 4 kB / 0.6854 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.1526, allocations: 0 / 0.6854 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.1528, allocations: 163.4 kB / 0.6856 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.1528, allocations: 85.14 kB / 0.6857 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.1528, allocations: 0 / 0.6857 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.028e-05/0.1529, allocations: 11.98 kB / 0.6857 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.1529, allocations: 0 / 0.6857 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.153, allocations: 3.938 kB / 0.6857 GB, free: 2.965 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.039e-05/0.153, allocations: 87.27 kB / 0.6858 GB, free: 2.879 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.153, allocations: 0 / 0.6858 GB, free: 2.879 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002185/0.1532, allocations: 16 kB / 0.6858 GB, free: 2.863 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.0001241/0.1534, allocations: 103.2 kB / 0.6859 GB, free: 2.754 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.1536, allocations: 39.95 kB / 0.6859 GB, free: 2.715 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1536, allocations: 0 / 0.6859 GB, free: 2.715 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.322e-05/0.1536, allocations: 23.98 kB / 0.6859 GB, free: 2.691 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.1539, allocations: 10.22 kB / 0.686 GB, free: 2.684 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002572/0.1542, allocations: 117.6 kB / 0.6861 GB, free: 2.543 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.1544, allocations: 0.6768 MB / 0.6867 GB, free: 1.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.04e-05/0.1544, allocations: 0 / 0.6867 GB, free: 1.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.697e-05/0.1544, allocations: 11.44 kB / 0.6867 GB, free: 1.828 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1544, allocations: 0 / 0.6867 GB, free: 1.828 MB / 494.1 MB Notification: Performance of Templates: time 0.002326/0.1568, allocations: 0.5414 MB / 0.6873 GB, free: 1.289 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe 2>&1)