Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 104 kB / 16.52 MB, free: 6.703 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.001614/0.001614, allocations: 199.1 kB / 17.44 MB, free: 6.066 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.1 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7209/0.7209, allocations: 115.3 MB / 406.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 63.89 kB / 493.6 MB, free: 0.8203 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3533, allocations: 76.16 MB / 0.5564 GB, free: 36.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.001687/0.355, allocations: 0.6493 MB / 0.557 GB, free: 36.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002476/0.3553, allocations: 31.23 kB / 0.557 GB, free: 36.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.501e-05/0.3553, allocations: 1.406 kB / 0.557 GB, free: 36.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.42e-05/0.3553, allocations: 3.938 kB / 0.557 GB, free: 36.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.63e-06/0.3553, allocations: 1.375 kB / 0.557 GB, free: 36.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.3556, allocations: 12.27 kB / 0.5571 GB, free: 36.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.836e-05/0.3556, allocations: 3.188 kB / 0.5571 GB, free: 36.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.912e-05/0.3557, allocations: 1.406 kB / 0.5571 GB, free: 36.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.68e-05/0.3557, allocations: 1.594 kB / 0.5571 GB, free: 36.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.285e-05/0.3558, allocations: 1.5 kB / 0.5571 GB, free: 36.15 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.3558, allocations: 1.438 kB / 0.5571 GB, free: 36.15 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.946e-05/0.3559, allocations: 17.94 kB / 0.5571 GB, free: 36.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.728e-06/0.3559, allocations: 4.672 kB / 0.5571 GB, free: 36.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.013e-05/0.3559, allocations: 1.219 kB / 0.5571 GB, free: 36.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.509e-05/0.356, allocations: 19.08 kB / 0.5571 GB, free: 36.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.356, allocations: 0 / 0.5571 GB, free: 36.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.356, allocations: 0 / 0.5571 GB, free: 36.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.356, allocations: 0.6562 kB / 0.5571 GB, free: 36.13 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002359/0.3562, allocations: 312.4 kB / 0.5574 GB, free: 35.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3563, allocations: 14.75 kB / 0.5574 GB, free: 35.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.789e-05/0.3563, allocations: 0.9375 kB / 0.5574 GB, free: 35.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.648e-05/0.3564, allocations: 166 kB / 0.5576 GB, free: 35.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.3564, allocations: 2.438 kB / 0.5576 GB, free: 35.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.3564, allocations: 2.359 kB / 0.5576 GB, free: 35.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.764e-05/0.3565, allocations: 36.89 kB / 0.5576 GB, free: 35.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.3565, allocations: 192 / 0.5576 GB, free: 35.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.3565, allocations: 7.938 kB / 0.5576 GB, free: 35.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3565, allocations: 1.594 kB / 0.5576 GB, free: 35.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.883e-05/0.3566, allocations: 1.312 kB / 0.5576 GB, free: 35.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.147e-05/0.3566, allocations: 146.3 kB / 0.5578 GB, free: 35.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.33e-05/0.3567, allocations: 20.67 kB / 0.5578 GB, free: 35.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.529e-05/0.3567, allocations: 7.766 kB / 0.5578 GB, free: 35.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.3567, allocations: 2.031 kB / 0.5578 GB, free: 35.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/0.3568, allocations: 39.06 kB / 0.5578 GB, free: 35.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.3568, allocations: 1.188 kB / 0.5578 GB, free: 35.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.000119/0.3569, allocations: 38.05 kB / 0.5579 GB, free: 35.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/0.3569, allocations: 51.41 kB / 0.5579 GB, free: 35.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.993e-05/0.3569, allocations: 91.8 kB / 0.558 GB, free: 35.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.253e-06/0.357, allocations: 26.73 kB / 0.558 GB, free: 35.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.436e-05/0.357, allocations: 80.14 kB / 0.5581 GB, free: 34.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.357, allocations: 5.219 kB / 0.5581 GB, free: 34.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.511e-05/0.357, allocations: 17.94 kB / 0.5581 GB, free: 34.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.294e-05/0.3571, allocations: 311.9 kB / 0.5584 GB, free: 34.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.051e-05/0.3571, allocations: 3.031 kB / 0.5584 GB, free: 34.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.312e-06/0.3571, allocations: 1.344 kB / 0.5584 GB, free: 34.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.378e-05/0.3572, allocations: 9.703 kB / 0.5584 GB, free: 34.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3572, allocations: 0 / 0.5584 GB, free: 34.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.85e-05/0.3572, allocations: 33.8 kB / 0.5585 GB, free: 34.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.3572, allocations: 9 kB / 0.5585 GB, free: 34.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3572, allocations: 0 / 0.5585 GB, free: 34.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3573, allocations: 8.031 kB / 0.5585 GB, free: 34.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.142e-05/0.3573, allocations: 2.094 kB / 0.5585 GB, free: 34.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3573, allocations: 4.625 kB / 0.5585 GB, free: 34.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.28e-05/0.3573, allocations: 0 / 0.5585 GB, free: 34.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.3574, allocations: 3.062 kB / 0.5585 GB, free: 34.57 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 (1): * Single equations (assignments): 1 * 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.916e-05/0.3574, allocations: 110.6 kB / 0.5586 GB, free: 34.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.602e-06/0.3574, allocations: 5.547 kB / 0.5586 GB, free: 34.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.571e-05/0.3575, allocations: 42.02 kB / 0.5587 GB, free: 34.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3575, allocations: 0 / 0.5587 GB, free: 34.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3575, allocations: 1.156 kB / 0.5587 GB, free: 34.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3576, allocations: 0 / 0.5587 GB, free: 34.42 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.228e-05/0.3576, allocations: 155.8 kB / 0.5588 GB, free: 34.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3576, allocations: 0 / 0.5588 GB, free: 34.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.926e-05/0.3577, allocations: 3.844 kB / 0.5588 GB, free: 34.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3577, allocations: 0 / 0.5588 GB, free: 34.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.3577, allocations: 5.438 kB / 0.5588 GB, free: 34.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3577, allocations: 4.812 kB / 0.5588 GB, free: 34.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3577, allocations: 0 / 0.5588 GB, free: 34.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.346e-05/0.3578, allocations: 63.14 kB / 0.5589 GB, free: 34.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.914e-05/0.3578, allocations: 78.61 kB / 0.559 GB, free: 34.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.3578, allocations: 9.188 kB / 0.559 GB, free: 34.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.168e-05/0.3578, allocations: 3.547 kB / 0.559 GB, free: 34.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.52e-05/0.3578, allocations: 3.469 kB / 0.559 GB, free: 34.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.3578, allocations: 1.531 kB / 0.559 GB, free: 34.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.421e-05/0.3579, allocations: 75.94 kB / 0.559 GB, free: 33.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3579, allocations: 0 / 0.559 GB, free: 33.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001971/0.3581, allocations: 5.156 kB / 0.559 GB, free: 33.97 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 (1): * Single equations (assignments): 1 * 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.0001635/0.3582, allocations: 101.9 kB / 0.5591 GB, free: 33.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.913e-05/0.3583, allocations: 9.125 kB / 0.5592 GB, free: 33.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3583, allocations: 0 / 0.5592 GB, free: 33.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.348e-06/0.3583, allocations: 3.031 kB / 0.5592 GB, free: 33.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.3585, allocations: 8.641 kB / 0.5592 GB, free: 33.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001678/0.3586, allocations: 106.6 kB / 0.5593 GB, free: 33.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.59e-05/0.3587, allocations: 0.6735 MB / 0.5599 GB, free: 33.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.3588, allocations: 11.91 kB / 0.5599 GB, free: 33.05 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3588, allocations: 0 / 0.5599 GB, free: 33.05 MB / 446.1 MB Notification: Performance of Templates: time 0.001849/0.3606, allocations: 436.6 kB / 0.5604 GB, free: 33.05 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)