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.001119/0.001119, allocations: 106.2 kB / 16.52 MB, free: 6.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.001204/0.001204, allocations: 195.2 kB / 17.44 MB, free: 6.047 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.339/1.339, allocations: 222.9 MB / 241.1 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7126/0.7126, allocations: 115.3 MB / 406.6 MB, free: 6.402 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 63.91 kB / 493.6 MB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3411, allocations: 76.17 MB / 0.5564 GB, free: 36.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynomial): time 0.00255/0.3437, allocations: 1.491 MB / 0.5578 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003146/0.344, allocations: 87.95 kB / 0.5579 GB, free: 35.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.337e-05/0.3441, allocations: 0 / 0.5579 GB, free: 35.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.387e-05/0.3442, allocations: 7.453 kB / 0.5579 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.188e-05/0.3442, allocations: 2.875 kB / 0.5579 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.3444, allocations: 18.66 kB / 0.5579 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.464e-05/0.3445, allocations: 24.03 kB / 0.558 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.421e-05/0.3446, allocations: 12.2 kB / 0.558 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.622e-05/0.3446, allocations: 10.17 kB / 0.558 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.956e-05/0.3446, allocations: 15.02 kB / 0.558 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.3447, allocations: 1.156 kB / 0.558 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.438e-05/0.3448, allocations: 21.17 kB / 0.558 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.83e-05/0.3448, allocations: 1.281 kB / 0.558 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.3448, allocations: 12.72 kB / 0.558 GB, free: 35.06 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.056e-05/0.3449, allocations: 23.78 kB / 0.5581 GB, free: 35.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3449, allocations: 0 / 0.5581 GB, free: 35.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3449, allocations: 0 / 0.5581 GB, free: 35.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.345, allocations: 1.469 kB / 0.5581 GB, free: 35.06 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.0003913/0.3453, allocations: 346.7 kB / 0.5584 GB, free: 34.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.3454, allocations: 14.31 kB / 0.5584 GB, free: 34.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.3454, allocations: 3.312 kB / 0.5584 GB, free: 34.69 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.507e-05/0.3455, allocations: 173.7 kB / 0.5586 GB, free: 34.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.3455, allocations: 1.781 kB / 0.5586 GB, free: 34.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.3456, allocations: 3.328 kB / 0.5586 GB, free: 34.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.3457, allocations: 55.33 kB / 0.5586 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.3457, allocations: 1.594 kB / 0.5586 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.3458, allocations: 6.219 kB / 0.5586 GB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3458, allocations: 0 / 0.5586 GB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.346, allocations: 47.69 kB / 0.5587 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003018/0.3463, allocations: 247.8 kB / 0.5589 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.3464, allocations: 46.47 kB / 0.559 GB, free: 34.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9e-05/0.3465, allocations: 23.73 kB / 0.559 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.615e-05/0.3465, allocations: 2.734 kB / 0.559 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.3466, allocations: 36.72 kB / 0.559 GB, free: 34.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.3466, allocations: 0.5312 kB / 0.559 GB, free: 34.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003503/0.3469, allocations: 92.55 kB / 0.5591 GB, free: 34.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.347, allocations: 51.41 kB / 0.5592 GB, free: 33.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.98e-05/0.347, allocations: 108.4 kB / 0.5593 GB, free: 33.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.347, allocations: 27.08 kB / 0.5593 GB, free: 33.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.622e-05/0.3471, allocations: 91.17 kB / 0.5594 GB, free: 33.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.3471, allocations: 3.906 kB / 0.5594 GB, free: 33.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.3471, allocations: 14.14 kB / 0.5594 GB, free: 33.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.553e-05/0.3472, allocations: 316.4 kB / 0.5597 GB, free: 33.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.642e-05/0.3473, allocations: 16.92 kB / 0.5597 GB, free: 33.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.555e-05/0.3474, allocations: 20.97 kB / 0.5597 GB, free: 33.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.3475, allocations: 47.22 kB / 0.5598 GB, free: 33.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3475, allocations: 0 / 0.5598 GB, free: 33.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001824/0.3477, allocations: 71.88 kB / 0.5598 GB, free: 33.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.3477, allocations: 5.375 kB / 0.5598 GB, free: 33.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3477, allocations: 1.125 kB / 0.5598 GB, free: 33.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.3477, allocations: 2.297 kB / 0.5599 GB, free: 33.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.603e-05/0.3478, allocations: 9.953 kB / 0.5599 GB, free: 33.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3479, allocations: 0 / 0.5599 GB, free: 33.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.864e-05/0.3479, allocations: 14.08 kB / 0.5599 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.3479, allocations: 3.953 kB / 0.5599 GB, free: 33.34 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.901e-05/0.348, allocations: 114.1 kB / 0.56 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.348, allocations: 2.281 kB / 0.56 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.3482, allocations: 83.16 kB / 0.5601 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3482, allocations: 1.156 kB / 0.5601 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.3483, allocations: 0 / 0.5601 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3483, allocations: 5.344 kB / 0.5601 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.3484, allocations: 164.5 kB / 0.5602 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3484, allocations: 0 / 0.5602 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.686e-05/0.3485, allocations: 7.219 kB / 0.5602 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.3485, allocations: 0 / 0.5602 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.3485, allocations: 2.688 kB / 0.5602 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3485, allocations: 0.7188 kB / 0.5602 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3485, allocations: 0 / 0.5602 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.3487, allocations: 175.9 kB / 0.5604 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.902e-05/0.3487, allocations: 82.23 kB / 0.5605 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.3488, allocations: 5 kB / 0.5605 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-05/0.3488, allocations: 5.469 kB / 0.5605 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.3489, allocations: 3.875 kB / 0.5605 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.3489, allocations: 0 / 0.5605 GB, free: 32.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3e-05/0.3489, allocations: 88.61 kB / 0.5606 GB, free: 32.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3489, allocations: 0.9688 kB / 0.5606 GB, free: 32.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002282/0.3492, allocations: 6.875 kB / 0.5606 GB, free: 32.66 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.0001278/0.3493, allocations: 104.5 kB / 0.5607 GB, free: 32.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002142/0.3495, allocations: 41.17 kB / 0.5607 GB, free: 32.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3495, allocations: 1.031 kB / 0.5607 GB, free: 32.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.503e-05/0.3496, allocations: 22.09 kB / 0.5608 GB, free: 32.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.3499, allocations: 18.08 kB / 0.5608 GB, free: 32.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000259/0.3502, allocations: 152.5 kB / 0.5609 GB, free: 32.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.972e-05/0.3503, allocations: 0.6775 MB / 0.5616 GB, free: 31.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.225e-05/0.3503, allocations: 11.19 kB / 0.5616 GB, free: 31.69 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3503, allocations: 1.219 kB / 0.5616 GB, free: 31.69 MB / 446.1 MB Notification: Performance of Templates: time 0.002103/0.3525, allocations: 0.6471 MB / 0.5622 GB, free: 31.68 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)