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.001086/0.001086, allocations: 106.8 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.001117/0.001117, allocations: 192.1 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.336/1.336, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7195/0.7195, allocations: 115.1 MB / 406.9 MB, free: 6.328 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 71.89 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3297, allocations: 76.13 MB / 0.5576 GB, free: 36.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynomial): time 0.002245/0.332, allocations: 1.427 MB / 0.5589 GB, free: 35.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002623/0.3322, allocations: 95.48 kB / 0.559 GB, free: 35.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.728e-05/0.3323, allocations: 1.25 kB / 0.559 GB, free: 35.56 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.865e-05/0.3323, allocations: 1.281 kB / 0.559 GB, free: 35.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.311e-05/0.3324, allocations: 9.859 kB / 0.5591 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.3326, allocations: 15.95 kB / 0.5591 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.898e-05/0.3327, allocations: 29.55 kB / 0.5591 GB, free: 35.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.226e-05/0.3328, allocations: 8.953 kB / 0.5591 GB, free: 35.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.668e-05/0.3328, allocations: 13.61 kB / 0.5591 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.444e-05/0.3329, allocations: 10.44 kB / 0.5591 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.3329, allocations: 2.844 kB / 0.5591 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.986e-05/0.333, allocations: 24.61 kB / 0.5592 GB, free: 35.51 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.402e-05/0.333, allocations: 4.125 kB / 0.5592 GB, free: 35.51 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.333, allocations: 10.59 kB / 0.5592 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.3331, allocations: 34.61 kB / 0.5592 GB, free: 35.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3332, allocations: 1.312 kB / 0.5592 GB, free: 35.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3332, allocations: 1.188 kB / 0.5592 GB, free: 35.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.3332, allocations: 0.7031 kB / 0.5592 GB, free: 35.49 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.0003327/0.3335, allocations: 346.1 kB / 0.5595 GB, free: 35.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.3336, allocations: 11.5 kB / 0.5595 GB, free: 35.13 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.623e-05/0.3336, allocations: 2.219 kB / 0.5595 GB, free: 35.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.928e-05/0.3337, allocations: 175.6 kB / 0.5597 GB, free: 34.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.3337, allocations: 1.656 kB / 0.5597 GB, free: 34.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.3337, allocations: 1.812 kB / 0.5597 GB, free: 34.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.3339, allocations: 58.64 kB / 0.5598 GB, free: 34.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.3339, allocations: 3.156 kB / 0.5598 GB, free: 34.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-06/0.3339, allocations: 3.938 kB / 0.5598 GB, free: 34.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3339, allocations: 1.344 kB / 0.5598 GB, free: 34.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.3341, allocations: 38.31 kB / 0.5598 GB, free: 34.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002327/0.3343, allocations: 251.4 kB / 0.5601 GB, free: 34.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.3344, allocations: 43.98 kB / 0.5601 GB, free: 34.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.651e-05/0.3345, allocations: 31.33 kB / 0.5601 GB, free: 34.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.147e-05/0.3346, allocations: 8.062 kB / 0.5601 GB, free: 34.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.402e-05/0.3346, allocations: 30.56 kB / 0.5602 GB, free: 34.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.3346, allocations: 2.438 kB / 0.5602 GB, free: 34.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003143/0.3349, allocations: 85.61 kB / 0.5602 GB, free: 34.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.335, allocations: 56.06 kB / 0.5603 GB, free: 34.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.223e-05/0.335, allocations: 104 kB / 0.5604 GB, free: 34.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.335, allocations: 27.39 kB / 0.5604 GB, free: 34.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.538e-05/0.3351, allocations: 85.03 kB / 0.5605 GB, free: 34.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.3351, allocations: 7.188 kB / 0.5605 GB, free: 34.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/0.3351, allocations: 12.62 kB / 0.5605 GB, free: 34.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.978e-05/0.3352, allocations: 317.7 kB / 0.5608 GB, free: 33.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.997e-05/0.3352, allocations: 17.86 kB / 0.5608 GB, free: 33.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.782e-05/0.3353, allocations: 23.05 kB / 0.5609 GB, free: 33.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.3355, allocations: 42.64 kB / 0.5609 GB, free: 33.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3355, allocations: 3.938 kB / 0.5609 GB, free: 33.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000176/0.3356, allocations: 71.78 kB / 0.561 GB, free: 33.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.3357, allocations: 6.938 kB / 0.561 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.3357, allocations: 0.6875 kB / 0.561 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.3357, allocations: 0.9688 kB / 0.561 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.946e-05/0.3358, allocations: 8.656 kB / 0.561 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3358, allocations: 1.312 kB / 0.561 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.63e-05/0.3358, allocations: 11.98 kB / 0.561 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.3358, allocations: 256 / 0.561 GB, free: 33.79 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.609e-05/0.3359, allocations: 122.8 kB / 0.5611 GB, free: 33.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.3359, allocations: 2.094 kB / 0.5611 GB, free: 33.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.3361, allocations: 80.5 kB / 0.5612 GB, free: 33.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.3362, allocations: 2.047 kB / 0.5612 GB, free: 33.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3362, allocations: 0.5625 kB / 0.5612 GB, free: 33.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3362, allocations: 1.969 kB / 0.5612 GB, free: 33.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.3363, allocations: 162.5 kB / 0.5614 GB, free: 33.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3363, allocations: 1.422 kB / 0.5614 GB, free: 33.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-05/0.3364, allocations: 10.88 kB / 0.5614 GB, free: 33.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3364, allocations: 0 / 0.5614 GB, free: 33.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-06/0.3364, allocations: 0 / 0.5614 GB, free: 33.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3364, allocations: 2 kB / 0.5614 GB, free: 33.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3364, allocations: 4.469 kB / 0.5614 GB, free: 33.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.3366, allocations: 172.9 kB / 0.5615 GB, free: 33.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.952e-05/0.3366, allocations: 83.3 kB / 0.5616 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.3366, allocations: 1.859 kB / 0.5616 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.392e-05/0.3367, allocations: 9.422 kB / 0.5616 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.3368, allocations: 3.703 kB / 0.5616 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.3368, allocations: 2.5 kB / 0.5616 GB, free: 33.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.514e-05/0.3368, allocations: 85.95 kB / 0.5617 GB, free: 33.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3368, allocations: 1.188 kB / 0.5617 GB, free: 33.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002305/0.337, allocations: 8.172 kB / 0.5617 GB, free: 33.1 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.000105/0.3371, allocations: 99.83 kB / 0.5618 GB, free: 33.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002/0.3374, allocations: 48.75 kB / 0.5619 GB, free: 33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3374, allocations: 1.156 kB / 0.5619 GB, free: 33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.217e-05/0.3375, allocations: 18.75 kB / 0.5619 GB, free: 33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.3377, allocations: 11.86 kB / 0.5619 GB, free: 32.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002278/0.338, allocations: 119.6 kB / 0.562 GB, free: 32.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.975e-05/0.3381, allocations: 0.6777 MB / 0.5627 GB, free: 32.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.169e-05/0.3381, allocations: 2.922 kB / 0.5627 GB, free: 32.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.66e-05/0.3381, allocations: 8.562 kB / 0.5627 GB, free: 32.18 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3381, allocations: 4.938 kB / 0.5627 GB, free: 32.17 MB / 446.1 MB Notification: Performance of Templates: time 0.002532/0.3407, allocations: 0.5269 MB / 0.5632 GB, free: 32.13 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1)