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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8712/0.8712, allocations: 143.4 MB / 158.3 MB, free: 5.812 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001094, allocations: 179.5 kB / 191.5 MB, free: 5.77 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 223.2 MB / 447.7 MB, free: 4.812 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.001051, allocations: 84.39 kB / 0.5188 GB, free: 1.168 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001737/0.001737, allocations: 279.1 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004842/0.0004842, allocations: 20.12 kB / 0.6929 GB, free: 59.76 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1989, allocations: 82.8 MB / 0.7737 GB, free: 13.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1636/0.3626, allocations: 107.9 MB / 0.8791 GB, free: 1.777 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.3629, allocations: 77.97 kB / 0.8792 GB, free: 1.703 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.001085/0.364, allocations: 484.9 kB / 0.8796 GB, free: 1.227 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3641, allocations: 0 / 0.8796 GB, free: 1.227 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.3641, allocations: 0 / 0.8796 GB, free: 1.227 MB / 0.5417 GB 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.000278/0.3643, allocations: 311.4 kB / 0.8799 GB, free: 0.875 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.3644, allocations: 16.56 kB / 0.88 GB, free: 0.8594 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.3644, allocations: 0 / 0.88 GB, free: 0.8594 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.3646, allocations: 163.1 kB / 0.8801 GB, free: 0.6602 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.3646, allocations: 3.953 kB / 0.8801 GB, free: 0.6562 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.3646, allocations: 0 / 0.8801 GB, free: 0.6562 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.3647, allocations: 29.7 kB / 0.8801 GB, free: 0.6211 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.3647, allocations: 0 / 0.8801 GB, free: 0.6211 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.3647, allocations: 0 / 0.8801 GB, free: 0.6211 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3647, allocations: 0 / 0.8801 GB, free: 0.6211 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.395e-05/0.3648, allocations: 7.984 kB / 0.8802 GB, free: 0.6133 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.3649, allocations: 145.7 kB / 0.8803 GB, free: 432 kB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.008e-05/0.365, allocations: 22.52 kB / 0.8803 GB, free: 400 kB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.462e-05/0.365, allocations: 8.047 kB / 0.8803 GB, free: 392 kB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.3651, allocations: 30.56 kB / 0.8804 GB, free: 352 kB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 1.273e-06/0.3651, allocations: 0 / 0.8804 GB, free: 352 kB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0001645/0.3653, allocations: 37.78 kB / 0.8804 GB, free: 308 kB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.3653, allocations: 51.41 kB / 0.8804 GB, free: 244 kB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.781e-05/0.3654, allocations: 88.94 kB / 0.8805 GB, free: 148 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.3654, allocations: 33.64 kB / 0.8806 GB, free: 108 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.118e-05/0.3654, allocations: 80.14 kB / 0.8806 GB, free: 24 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.3655, allocations: 0 / 0.8806 GB, free: 24 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.3655, allocations: 4 kB / 0.8806 GB, free: 20 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.3993/0.7648, allocations: 310.8 kB / 0.8809 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.345e-05/0.7649, allocations: 0 / 0.8809 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.967e-05/0.7649, allocations: 1.75 kB / 0.8809 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.386e-05/0.7649, allocations: 1.875 kB / 0.8809 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.765, allocations: 3.219 kB / 0.8809 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001233/0.7651, allocations: 35.64 kB / 0.881 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/0.7651, allocations: 5.266 kB / 0.881 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.7651, allocations: 2.234 kB / 0.881 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.7652, allocations: 0.625 kB / 0.881 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.134e-05/0.7653, allocations: 2.844 kB / 0.881 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.7653, allocations: 0.7031 kB / 0.881 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.205e-05/0.7653, allocations: 0.7188 kB / 0.881 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.7653, allocations: 2.219 kB / 0.881 GB, free: 109.1 MB / 0.5417 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.285e-05/0.7654, allocations: 113 kB / 0.8811 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.7655, allocations: 6.312 kB / 0.8811 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.7656, allocations: 43.42 kB / 0.8811 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.7657, allocations: 0.6875 kB / 0.8811 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.7657, allocations: 0 / 0.8811 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.7657, allocations: 1.234 kB / 0.8811 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.7658, allocations: 146.5 kB / 0.8813 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.7658, allocations: 5.328 kB / 0.8813 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.063e-05/0.7658, allocations: 2.875 kB / 0.8813 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.7658, allocations: 1.5 kB / 0.8813 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.7659, allocations: 4.641 kB / 0.8813 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.7659, allocations: 1.25 kB / 0.8813 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.7659, allocations: 0.8438 kB / 0.8813 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.013e-05/0.766, allocations: 61.23 kB / 0.8814 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.608e-05/0.766, allocations: 82.05 kB / 0.8814 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.766, allocations: 2.312 kB / 0.8814 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.416e-05/0.7661, allocations: 3.953 kB / 0.8814 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.7661, allocations: 4.859 kB / 0.8814 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.7661, allocations: 3.281 kB / 0.8814 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.761e-05/0.7661, allocations: 79.88 kB / 0.8815 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1e-07/0.7662, allocations: 0 / 0.8815 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002669/0.7664, allocations: 5.359 kB / 0.8815 GB, free: 108.5 MB / 0.5417 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002393/0.7667, allocations: 114.5 kB / 0.8816 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.206e-05/0.7668, allocations: 7.047 kB / 0.8816 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.7668, allocations: 0.8438 kB / 0.8816 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.215e-05/0.7668, allocations: 2.953 kB / 0.8816 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001122/0.7669, allocations: 7.344 kB / 0.8817 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002384/0.7672, allocations: 78.23 kB / 0.8817 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.7673, allocations: 0.6736 MB / 0.8824 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.248e-05/0.7674, allocations: 4.906 kB / 0.8824 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/0.7674, allocations: 15.16 kB / 0.8824 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of SimCode: time 4.11e-07/0.7674, allocations: 1.781 kB / 0.8824 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of Templates: time 0.002624/0.7701, allocations: 271.1 kB / 0.8827 GB, free: 107.6 MB / 0.5417 GB 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)