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.0009029/0.0009031, allocations: 89 kB / 16.66 MB, free: 5.742 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.001034/0.001034, allocations: 182.9 kB / 17.58 MB, free: 5.477 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.349/1.349, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7193/0.7193, allocations: 115.5 MB / 408.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003379, allocations: 12 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3669, allocations: 77.51 MB / 0.5606 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.0005893/0.3676, allocations: 314.7 kB / 0.5609 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002122/0.3678, allocations: 42.88 kB / 0.5609 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.546e-06/0.3678, allocations: 1.062 kB / 0.5609 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.217e-05/0.3678, allocations: 0 / 0.5609 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.398e-06/0.3679, allocations: 0 / 0.5609 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.3681, allocations: 13.44 kB / 0.5609 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 2.965e-05/0.3681, allocations: 5.516 kB / 0.561 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.598e-05/0.3681, allocations: 0 / 0.561 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.553e-05/0.3682, allocations: 1.344 kB / 0.561 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.485e-05/0.3682, allocations: 2.062 kB / 0.561 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.456e-06/0.3682, allocations: 0.5625 kB / 0.561 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.794e-05/0.3683, allocations: 16.94 kB / 0.561 GB, free: 35.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.436e-06/0.3683, allocations: 2.938 kB / 0.561 GB, free: 35.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.024e-05/0.3683, allocations: 25.7 kB / 0.561 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 5.851e-05/0.3684, allocations: 17.45 kB / 0.561 GB, free: 35.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3684, allocations: 4.969 kB / 0.561 GB, free: 35.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3684, allocations: 0.5312 kB / 0.561 GB, free: 35.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.3684, allocations: 0 / 0.561 GB, free: 35.25 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.0001789/0.3686, allocations: 312.8 kB / 0.5613 GB, free: 34.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.3687, allocations: 13.53 kB / 0.5613 GB, free: 34.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.282e-05/0.3687, allocations: 3.781 kB / 0.5613 GB, free: 34.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.355e-05/0.3687, allocations: 161 kB / 0.5615 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.3687, allocations: 1.438 kB / 0.5615 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.3688, allocations: 2.438 kB / 0.5615 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.33e-05/0.3688, allocations: 38.12 kB / 0.5615 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.381e-06/0.3689, allocations: 1.219 kB / 0.5615 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.3689, allocations: 3.938 kB / 0.5615 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3689, allocations: 1.781 kB / 0.5615 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.768e-05/0.3689, allocations: 1.969 kB / 0.5615 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.893e-05/0.369, allocations: 151 kB / 0.5617 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.987e-05/0.369, allocations: 17.3 kB / 0.5617 GB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.396e-05/0.3691, allocations: 8.734 kB / 0.5617 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.3691, allocations: 1.25 kB / 0.5617 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/0.3691, allocations: 37.25 kB / 0.5617 GB, free: 34.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.3691, allocations: 0 / 0.5617 GB, free: 34.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001032/0.3692, allocations: 40.39 kB / 0.5618 GB, free: 34.35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/0.3693, allocations: 53.28 kB / 0.5618 GB, free: 34.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.717e-05/0.3693, allocations: 89.86 kB / 0.5619 GB, free: 34.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.041e-06/0.3693, allocations: 26.86 kB / 0.5619 GB, free: 34.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.021e-05/0.3693, allocations: 81.86 kB / 0.562 GB, free: 34.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.3693, allocations: 0 / 0.562 GB, free: 34.08 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.747e-05/0.3693, allocations: 11 kB / 0.562 GB, free: 34.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.23e-05/0.3694, allocations: 316.2 kB / 0.5623 GB, free: 33.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.484e-06/0.3694, allocations: 4.75 kB / 0.5623 GB, free: 33.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.771e-06/0.3694, allocations: 1.375 kB / 0.5623 GB, free: 33.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.214e-05/0.3694, allocations: 17.27 kB / 0.5624 GB, free: 33.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3695, allocations: 0 / 0.5624 GB, free: 33.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.392e-05/0.3695, allocations: 32.48 kB / 0.5624 GB, free: 33.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.3695, allocations: 5.219 kB / 0.5624 GB, free: 33.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.3695, allocations: 9.125 kB / 0.5624 GB, free: 33.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.3695, allocations: 5.094 kB / 0.5624 GB, free: 33.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.744e-05/0.3696, allocations: 3.203 kB / 0.5624 GB, free: 33.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.227e-06/0.3696, allocations: 4.641 kB / 0.5624 GB, free: 33.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.202e-05/0.3696, allocations: 0 / 0.5624 GB, free: 33.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.3696, allocations: 3.75 kB / 0.5624 GB, free: 33.69 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.078e-05/0.3697, allocations: 108.5 kB / 0.5625 GB, free: 33.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-06/0.3697, allocations: 0 / 0.5625 GB, free: 33.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.266e-05/0.3698, allocations: 50.19 kB / 0.5626 GB, free: 33.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.3698, allocations: 0 / 0.5626 GB, free: 33.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3698, allocations: 1.5 kB / 0.5626 GB, free: 33.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.3698, allocations: 0 / 0.5626 GB, free: 33.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.855e-05/0.3699, allocations: 147.8 kB / 0.5627 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.3699, allocations: 0 / 0.5627 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.515e-05/0.3699, allocations: 1.438 kB / 0.5627 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3699, allocations: 1.344 kB / 0.5627 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.3699, allocations: 3.938 kB / 0.5627 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.3699, allocations: 5.375 kB / 0.5627 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3699, allocations: 0 / 0.5627 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.108e-05/0.37, allocations: 65.98 kB / 0.5628 GB, free: 33.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.416e-05/0.37, allocations: 80.53 kB / 0.5629 GB, free: 33.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.37, allocations: 5.375 kB / 0.5629 GB, free: 33.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.09e-05/0.37, allocations: 1.938 kB / 0.5629 GB, free: 33.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.045e-05/0.37, allocations: 1.969 kB / 0.5629 GB, free: 33.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.37, allocations: 0 / 0.5629 GB, free: 33.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.013e-05/0.3701, allocations: 75.28 kB / 0.5629 GB, free: 33.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3701, allocations: 1.188 kB / 0.5629 GB, free: 33.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002144/0.3703, allocations: 4.469 kB / 0.5629 GB, free: 33.09 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.0001182/0.3704, allocations: 101.1 kB / 0.563 GB, free: 33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.487e-05/0.3705, allocations: 11.39 kB / 0.5631 GB, free: 33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3705, allocations: 0 / 0.5631 GB, free: 33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.995e-06/0.3705, allocations: 7.062 kB / 0.5631 GB, free: 33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001198/0.3706, allocations: 1 kB / 0.5631 GB, free: 33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001354/0.3708, allocations: 103.2 kB / 0.5632 GB, free: 32.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.653e-05/0.3709, allocations: 0.6745 MB / 0.5638 GB, free: 32.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.3709, allocations: 13.97 kB / 0.5638 GB, free: 32.16 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3709, allocations: 0 / 0.5638 GB, free: 32.16 MB / 446.1 MB Notification: Performance of Templates: time 0.00167/0.3726, allocations: 441.1 kB / 0.5643 GB, free: 32.16 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)