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.001694/0.001694, allocations: 103.3 kB / 16.93 MB, free: 5.793 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.001914/0.001914, allocations: 191.3 kB / 17.87 MB, free: 5.156 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.316/1.316, allocations: 222.9 MB / 241.6 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7934/0.7934, allocations: 122.9 MB / 414.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002445/0.002445, allocations: 63.91 kB / 0.4917 GB, free: 7.461 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3471, allocations: 77.92 MB / 0.5678 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynomial): time 0.002542/0.3497, allocations: 1.428 MB / 0.5692 GB, free: 31.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000277/0.35, allocations: 94.34 kB / 0.5693 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.534e-05/0.35, allocations: 2.156 kB / 0.5693 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.406e-05/0.3501, allocations: 5.016 kB / 0.5693 GB, free: 31.65 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.964e-05/0.3501, allocations: 2.281 kB / 0.5693 GB, free: 31.65 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.3503, allocations: 18.97 kB / 0.5693 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.398e-05/0.3504, allocations: 29.73 kB / 0.5694 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.092e-05/0.3505, allocations: 4.828 kB / 0.5694 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.347e-05/0.3505, allocations: 12.56 kB / 0.5694 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.57e-05/0.3506, allocations: 10.52 kB / 0.5694 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.3506, allocations: 2.375 kB / 0.5694 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.478e-05/0.3507, allocations: 22.09 kB / 0.5694 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.748e-05/0.3507, allocations: 6.188 kB / 0.5694 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.3508, allocations: 11.78 kB / 0.5694 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.3509, allocations: 38.2 kB / 0.5695 GB, free: 31.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3509, allocations: 0 / 0.5695 GB, free: 31.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3509, allocations: 0.9688 kB / 0.5695 GB, free: 31.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.3509, allocations: 1.125 kB / 0.5695 GB, free: 31.59 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.0003375/0.3512, allocations: 341.5 kB / 0.5698 GB, free: 31.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.3513, allocations: 11.47 kB / 0.5698 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.3513, allocations: 2.656 kB / 0.5698 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.071e-05/0.3514, allocations: 177 kB / 0.57 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.3514, allocations: 384 / 0.57 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.3514, allocations: 1.562 kB / 0.57 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.3516, allocations: 57.58 kB / 0.57 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.3516, allocations: 192 / 0.57 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.3516, allocations: 7.875 kB / 0.57 GB, free: 30.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3516, allocations: 2.219 kB / 0.57 GB, free: 30.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.3518, allocations: 36.98 kB / 0.5701 GB, free: 30.97 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002473/0.3521, allocations: 252.9 kB / 0.5703 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.3522, allocations: 48.89 kB / 0.5704 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.563e-05/0.3523, allocations: 26.97 kB / 0.5704 GB, free: 30.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.3523, allocations: 2.031 kB / 0.5704 GB, free: 30.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.458e-05/0.3523, allocations: 33 kB / 0.5704 GB, free: 30.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.432e-06/0.3523, allocations: 1.125 kB / 0.5704 GB, free: 30.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003402/0.3527, allocations: 90.39 kB / 0.5705 GB, free: 30.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.3527, allocations: 57.11 kB / 0.5706 GB, free: 30.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.665e-05/0.3528, allocations: 106.4 kB / 0.5707 GB, free: 30.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.163e-06/0.3528, allocations: 26.67 kB / 0.5707 GB, free: 30.37 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.95e-05/0.3529, allocations: 94.3 kB / 0.5708 GB, free: 30.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.307e-05/0.3529, allocations: 1.625 kB / 0.5708 GB, free: 30.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/0.3529, allocations: 14.97 kB / 0.5708 GB, free: 30.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.646e-05/0.353, allocations: 318.1 kB / 0.5711 GB, free: 29.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.427e-05/0.353, allocations: 15.53 kB / 0.5711 GB, free: 29.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.635e-05/0.3531, allocations: 19.72 kB / 0.5711 GB, free: 29.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.3533, allocations: 42.48 kB / 0.5712 GB, free: 29.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3533, allocations: 1.031 kB / 0.5712 GB, free: 29.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001872/0.3535, allocations: 80.45 kB / 0.5713 GB, free: 29.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.3535, allocations: 7.406 kB / 0.5713 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3535, allocations: 1.578 kB / 0.5713 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.3535, allocations: 0.5938 kB / 0.5713 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.262e-05/0.3536, allocations: 8.906 kB / 0.5713 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3536, allocations: 1.062 kB / 0.5713 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.611e-05/0.3537, allocations: 6.875 kB / 0.5713 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.3537, allocations: 3 kB / 0.5713 GB, free: 29.88 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 4.708e-05/0.3537, allocations: 116.7 kB / 0.5714 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.3538, allocations: 2.875 kB / 0.5714 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.354, allocations: 80.44 kB / 0.5715 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.354, allocations: 1.094 kB / 0.5715 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.354, allocations: 6.203 kB / 0.5715 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.354, allocations: 1.344 kB / 0.5715 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.3542, allocations: 161.6 kB / 0.5716 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3542, allocations: 5 kB / 0.5716 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.736e-05/0.3542, allocations: 9.438 kB / 0.5717 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.3542, allocations: 2.75 kB / 0.5717 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-06/0.3542, allocations: 0 / 0.5717 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3542, allocations: 0.8906 kB / 0.5717 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3543, allocations: 4.344 kB / 0.5717 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.3545, allocations: 173.1 kB / 0.5718 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.793e-05/0.3545, allocations: 79.2 kB / 0.5719 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.3545, allocations: 2.25 kB / 0.5719 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.38e-05/0.3546, allocations: 9.781 kB / 0.5719 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.3546, allocations: 3.656 kB / 0.5719 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.3546, allocations: 1.125 kB / 0.5719 GB, free: 29.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.683e-05/0.3547, allocations: 86.31 kB / 0.572 GB, free: 29.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3547, allocations: 1.688 kB / 0.572 GB, free: 29.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002264/0.3549, allocations: 7.375 kB / 0.572 GB, free: 29.18 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.0001171/0.355, allocations: 104.3 kB / 0.5721 GB, free: 29.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002203/0.3553, allocations: 44.36 kB / 0.5722 GB, free: 29.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3553, allocations: 0 / 0.5722 GB, free: 29.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.52e-05/0.3554, allocations: 20.16 kB / 0.5722 GB, free: 29.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.3556, allocations: 11.61 kB / 0.5722 GB, free: 29.08 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002428/0.3559, allocations: 144.5 kB / 0.5723 GB, free: 28.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.563e-05/0.356, allocations: 0.6777 MB / 0.573 GB, free: 28.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/0.356, allocations: 9.438 kB / 0.573 GB, free: 28.23 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.356, allocations: 4.469 kB / 0.573 GB, free: 28.23 MB / 446.1 MB Notification: Performance of Templates: time 0.001958/0.358, allocations: 0.6725 MB / 0.5737 GB, free: 28.21 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1)