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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 100.5 kB / 15.98 MB, free: 6.348 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.001521/0.001521, allocations: 195 kB / 16.91 MB, free: 6.191 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.522/1.522, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7107/0.7107, allocations: 115.3 MB / 406.1 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 59.91 kB / 493.2 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.371, allocations: 76.18 MB / 0.556 GB, free: 36.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.001299/0.3723, allocations: 0.6303 MB / 0.5566 GB, free: 36.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001585/0.3725, allocations: 39.25 kB / 0.5567 GB, free: 35.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.814e-06/0.3725, allocations: 0 / 0.5567 GB, free: 35.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.284e-05/0.3725, allocations: 0 / 0.5567 GB, free: 35.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.878e-06/0.3726, allocations: 0 / 0.5567 GB, free: 35.99 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.3728, allocations: 17.12 kB / 0.5567 GB, free: 35.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 2.873e-05/0.3728, allocations: 3.125 kB / 0.5567 GB, free: 35.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.49e-05/0.3728, allocations: 3.469 kB / 0.5567 GB, free: 35.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.059e-05/0.3729, allocations: 1.406 kB / 0.5567 GB, free: 35.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.709e-05/0.3729, allocations: 3.016 kB / 0.5567 GB, free: 35.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.423e-06/0.3729, allocations: 0 / 0.5567 GB, free: 35.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.407e-05/0.373, allocations: 20.95 kB / 0.5567 GB, free: 35.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.464e-06/0.373, allocations: 1.75 kB / 0.5567 GB, free: 35.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.453e-05/0.373, allocations: 6 kB / 0.5567 GB, free: 35.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.367e-05/0.3731, allocations: 15.39 kB / 0.5568 GB, free: 35.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.3731, allocations: 0 / 0.5568 GB, free: 35.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3731, allocations: 3.328 kB / 0.5568 GB, free: 35.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.3731, allocations: 0 / 0.5568 GB, free: 35.97 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.0001628/0.3733, allocations: 319.2 kB / 0.5571 GB, free: 35.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/0.3733, allocations: 10.31 kB / 0.5571 GB, free: 35.61 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.905e-05/0.3733, allocations: 30.75 kB / 0.5571 GB, free: 35.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.606e-05/0.3733, allocations: 6.125 kB / 0.5571 GB, free: 35.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.959e-05/0.3734, allocations: 162.5 kB / 0.5573 GB, free: 35.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.3734, allocations: 5.438 kB / 0.5573 GB, free: 35.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.172e-06/0.3734, allocations: 2.469 kB / 0.5573 GB, free: 35.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.804e-05/0.3735, allocations: 31.78 kB / 0.5573 GB, free: 35.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.109e-06/0.3735, allocations: 5.031 kB / 0.5573 GB, free: 35.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-06/0.3735, allocations: 0 / 0.5573 GB, free: 35.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.036e-06/0.3735, allocations: 0 / 0.5573 GB, free: 35.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.5e-05/0.3735, allocations: 4.219 kB / 0.5573 GB, free: 35.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.924e-05/0.3736, allocations: 150.5 kB / 0.5575 GB, free: 35.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.601e-05/0.3736, allocations: 25.31 kB / 0.5575 GB, free: 35.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.139e-05/0.3736, allocations: 6.422 kB / 0.5575 GB, free: 35.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.3737, allocations: 2.656 kB / 0.5575 GB, free: 35.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.151e-05/0.3737, allocations: 32.66 kB / 0.5575 GB, free: 35.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.3737, allocations: 0 / 0.5575 GB, free: 35.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 8.607e-05/0.3738, allocations: 40.61 kB / 0.5576 GB, free: 35.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.787e-05/0.3738, allocations: 59.47 kB / 0.5576 GB, free: 34.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.116e-05/0.3738, allocations: 91.27 kB / 0.5577 GB, free: 34.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.709e-06/0.3738, allocations: 25.7 kB / 0.5577 GB, free: 34.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.953e-06/0.3738, allocations: 80.14 kB / 0.5578 GB, free: 34.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.3739, allocations: 2.031 kB / 0.5578 GB, free: 34.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.97e-05/0.3739, allocations: 18.53 kB / 0.5578 GB, free: 34.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.141e-05/0.3739, allocations: 312.2 kB / 0.5581 GB, free: 34.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.093e-06/0.3739, allocations: 0 / 0.5581 GB, free: 34.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-06/0.3739, allocations: 9.062 kB / 0.5581 GB, free: 34.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.835e-05/0.374, allocations: 7.172 kB / 0.5581 GB, free: 34.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.374, allocations: 0 / 0.5581 GB, free: 34.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.784e-05/0.374, allocations: 32.08 kB / 0.5582 GB, free: 34.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.719e-06/0.374, allocations: 8.484 kB / 0.5582 GB, free: 34.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.374, allocations: 3.938 kB / 0.5582 GB, free: 34.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-06/0.374, allocations: 3.938 kB / 0.5582 GB, free: 34.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.819e-05/0.3741, allocations: 4.875 kB / 0.5582 GB, free: 34.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-06/0.3741, allocations: 1.469 kB / 0.5582 GB, free: 34.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.028e-05/0.3741, allocations: 0 / 0.5582 GB, free: 34.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.3741, allocations: 2.891 kB / 0.5582 GB, free: 34.37 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 3.035e-05/0.3742, allocations: 107 kB / 0.5583 GB, free: 34.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-06/0.3742, allocations: 1.953 kB / 0.5583 GB, free: 34.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.972e-05/0.3742, allocations: 47.98 kB / 0.5583 GB, free: 34.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.3743, allocations: 0.5625 kB / 0.5583 GB, free: 34.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.3743, allocations: 0 / 0.5583 GB, free: 34.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-06/0.3743, allocations: 1.656 kB / 0.5583 GB, free: 34.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.724e-05/0.3743, allocations: 151.1 kB / 0.5585 GB, free: 34.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.3743, allocations: 0 / 0.5585 GB, free: 34.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.519e-05/0.3743, allocations: 2.562 kB / 0.5585 GB, free: 34.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-06/0.3743, allocations: 1.469 kB / 0.5585 GB, free: 34.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-06/0.3743, allocations: 3.938 kB / 0.5585 GB, free: 34.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3744, allocations: 9.219 kB / 0.5585 GB, free: 34.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3744, allocations: 0 / 0.5585 GB, free: 34.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.238e-05/0.3744, allocations: 60.89 kB / 0.5586 GB, free: 33.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.149e-05/0.3744, allocations: 80.67 kB / 0.5586 GB, free: 33.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.705e-06/0.3744, allocations: 4.562 kB / 0.5586 GB, free: 33.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.009e-05/0.3744, allocations: 1 kB / 0.5586 GB, free: 33.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.534e-06/0.3745, allocations: 5.469 kB / 0.5586 GB, free: 33.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.3745, allocations: 1.438 kB / 0.5586 GB, free: 33.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.197e-06/0.3745, allocations: 76.06 kB / 0.5587 GB, free: 33.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3745, allocations: 0.6562 kB / 0.5587 GB, free: 33.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001663/0.3747, allocations: 4.953 kB / 0.5587 GB, free: 33.77 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.0001787/0.3748, allocations: 0.6095 MB / 0.5593 GB, free: 33.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.262e-05/0.3749, allocations: 7.844 kB / 0.5593 GB, free: 33.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3749, allocations: 1.719 kB / 0.5593 GB, free: 33.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.845e-06/0.3749, allocations: 5.281 kB / 0.5593 GB, free: 33.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001074/0.375, allocations: 2.312 kB / 0.5593 GB, free: 33.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000187/0.3752, allocations: 102.2 kB / 0.5594 GB, free: 33.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.293e-05/0.3753, allocations: 0.6778 MB / 0.5601 GB, free: 32.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.06e-05/0.3753, allocations: 1.906 kB / 0.5601 GB, free: 32.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.68e-05/0.3753, allocations: 9.438 kB / 0.5601 GB, free: 32.32 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3753, allocations: 0.8125 kB / 0.5601 GB, free: 32.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9639/1.339, allocations: 0.9134 MB / 0.561 GB, free: 32.14 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/1.34, allocations: 210 kB / 0.5612 GB, free: 31.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/2.958, allocations: 2.125 kB / 0.5612 GB, free: 31.89 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Polynomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)