Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial") translateModel(IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001013/0.001013, allocations: 108.1 kB / 17.03 MB, free: 5.656 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.000981/0.0009811, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.253/1.253, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.688/0.688, allocations: 115.1 MB / 406.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 64.09 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3439, allocations: 76.15 MB / 0.5576 GB, free: 36.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynomial): time 0.002243/0.3462, allocations: 1.413 MB / 0.5589 GB, free: 35.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002586/0.3464, allocations: 88.5 kB / 0.559 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.478e-05/0.3465, allocations: 3.938 kB / 0.559 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.038e-05/0.3465, allocations: 1.891 kB / 0.559 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.431e-05/0.3466, allocations: 7.734 kB / 0.559 GB, free: 35.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.3468, allocations: 16.92 kB / 0.5591 GB, free: 35.6 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.255e-05/0.3469, allocations: 27.89 kB / 0.5591 GB, free: 35.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.996e-05/0.347, allocations: 7.391 kB / 0.5591 GB, free: 35.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.596e-05/0.3471, allocations: 12.06 kB / 0.5591 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.484e-05/0.3471, allocations: 10.95 kB / 0.5591 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.3471, allocations: 2.094 kB / 0.5591 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.373e-05/0.3472, allocations: 23.86 kB / 0.5591 GB, free: 35.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.664e-05/0.3472, allocations: 3.844 kB / 0.5591 GB, free: 35.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.383e-05/0.3473, allocations: 12.75 kB / 0.5592 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.3474, allocations: 40.8 kB / 0.5592 GB, free: 35.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3474, allocations: 1.25 kB / 0.5592 GB, free: 35.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3474, allocations: 1.469 kB / 0.5592 GB, free: 35.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.3474, allocations: 0 / 0.5592 GB, free: 35.54 MB / 446.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.0003719/0.3478, allocations: 349.9 kB / 0.5595 GB, free: 35.17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.3478, allocations: 8.531 kB / 0.5595 GB, free: 35.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.3479, allocations: 2.438 kB / 0.5595 GB, free: 35.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.436e-05/0.3479, allocations: 168.4 kB / 0.5597 GB, free: 34.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.348, allocations: 6.562 kB / 0.5597 GB, free: 34.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.774e-06/0.348, allocations: 384 / 0.5597 GB, free: 34.97 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.3481, allocations: 57.27 kB / 0.5598 GB, free: 34.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.3482, allocations: 4.125 kB / 0.5598 GB, free: 34.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.3482, allocations: 3.938 kB / 0.5598 GB, free: 34.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.3482, allocations: 1.25 kB / 0.5598 GB, free: 34.92 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.3483, allocations: 41.27 kB / 0.5598 GB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002472/0.3486, allocations: 252.9 kB / 0.5601 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.3487, allocations: 48.05 kB / 0.5601 GB, free: 34.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.038e-05/0.3488, allocations: 26.34 kB / 0.5601 GB, free: 34.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.3488, allocations: 1.953 kB / 0.5601 GB, free: 34.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.3489, allocations: 32.77 kB / 0.5602 GB, free: 34.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.893e-06/0.3489, allocations: 4.906 kB / 0.5602 GB, free: 34.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003187/0.3492, allocations: 90.39 kB / 0.5602 GB, free: 34.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.3492, allocations: 54.53 kB / 0.5603 GB, free: 34.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.811e-05/0.3493, allocations: 104.8 kB / 0.5604 GB, free: 34.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.3493, allocations: 25.7 kB / 0.5604 GB, free: 34.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.697e-05/0.3493, allocations: 86.83 kB / 0.5605 GB, free: 34.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.3494, allocations: 5.609 kB / 0.5605 GB, free: 34.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.3494, allocations: 13.78 kB / 0.5605 GB, free: 34.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.568e-05/0.3494, allocations: 318.8 kB / 0.5608 GB, free: 33.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.903e-05/0.3495, allocations: 18.94 kB / 0.5608 GB, free: 33.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.821e-05/0.3496, allocations: 19.81 kB / 0.5609 GB, free: 33.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.3497, allocations: 44.28 kB / 0.5609 GB, free: 33.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3498, allocations: 0 / 0.5609 GB, free: 33.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001703/0.3499, allocations: 72.52 kB / 0.561 GB, free: 33.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.3499, allocations: 5.984 kB / 0.561 GB, free: 33.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.35, allocations: 0 / 0.561 GB, free: 33.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.35, allocations: 2.875 kB / 0.561 GB, free: 33.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.939e-05/0.3501, allocations: 8.406 kB / 0.561 GB, free: 33.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.3501, allocations: 1.312 kB / 0.561 GB, free: 33.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.447e-05/0.3501, allocations: 12.81 kB / 0.561 GB, free: 33.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.3501, allocations: 0 / 0.561 GB, free: 33.83 MB / 446.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 5.052e-05/0.3502, allocations: 118.5 kB / 0.5611 GB, free: 33.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.3502, allocations: 2.344 kB / 0.5611 GB, free: 33.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/0.3504, allocations: 82.14 kB / 0.5612 GB, free: 33.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3504, allocations: 0 / 0.5612 GB, free: 33.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3504, allocations: 1.094 kB / 0.5612 GB, free: 33.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3504, allocations: 1.953 kB / 0.5612 GB, free: 33.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.3506, allocations: 163.5 kB / 0.5614 GB, free: 33.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3506, allocations: 0 / 0.5614 GB, free: 33.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.245e-05/0.3506, allocations: 9.406 kB / 0.5614 GB, free: 33.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.3506, allocations: 2.5 kB / 0.5614 GB, free: 33.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-06/0.3507, allocations: 5.078 kB / 0.5614 GB, free: 33.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3507, allocations: 1.125 kB / 0.5614 GB, free: 33.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3507, allocations: 5.031 kB / 0.5614 GB, free: 33.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.3509, allocations: 171.6 kB / 0.5615 GB, free: 33.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.3509, allocations: 84.5 kB / 0.5616 GB, free: 33.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.3509, allocations: 0.6094 kB / 0.5616 GB, free: 33.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.182e-05/0.351, allocations: 10.06 kB / 0.5616 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.351, allocations: 4.938 kB / 0.5616 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.351, allocations: 1.5 kB / 0.5616 GB, free: 33.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.861e-05/0.3511, allocations: 86.78 kB / 0.5617 GB, free: 33.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3511, allocations: 0.5938 kB / 0.5617 GB, free: 33.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000221/0.3513, allocations: 8.188 kB / 0.5617 GB, free: 33.14 MB / 446.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.0001059/0.3514, allocations: 100.1 kB / 0.5618 GB, free: 33.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002085/0.3516, allocations: 43.38 kB / 0.5619 GB, free: 33.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3516, allocations: 0.5 kB / 0.5619 GB, free: 33.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.77e-05/0.3517, allocations: 23.31 kB / 0.5619 GB, free: 33.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.352, allocations: 7.078 kB / 0.5619 GB, free: 33.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000241/0.3523, allocations: 126.9 kB / 0.562 GB, free: 32.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.3524, allocations: 0.6794 MB / 0.5627 GB, free: 32.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.093e-05/0.3524, allocations: 1.469 kB / 0.5627 GB, free: 32.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.668e-05/0.3524, allocations: 10.03 kB / 0.5627 GB, free: 32.21 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3524, allocations: 0.5625 kB / 0.5627 GB, free: 32.21 MB / 446.1 MB Notification: Performance of Templates: time 0.002536/0.355, allocations: 0.533 MB / 0.5632 GB, free: 32.16 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1)