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.00137/0.00137, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002207/0.002207, allocations: 177.8 kB / 16.57 MB, free: 6.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.306/2.306, allocations: 223.2 MB / 240.5 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.339/1.339, allocations: 113.7 MB / 405.3 MB, free: 4.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008836/0.0008841, allocations: 20.7 kB / 493 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3356, allocations: 77.11 MB / 0.5567 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.001194/0.3369, allocations: 303.1 kB / 0.557 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002986/0.3372, allocations: 27.98 kB / 0.557 GB, free: 11.35 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.109e-05/0.3373, allocations: 0 / 0.557 GB, free: 11.35 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.325e-05/0.3373, allocations: 3.938 kB / 0.5571 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 1.126e-05/0.3373, allocations: 0 / 0.5571 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004184/0.3378, allocations: 11.97 kB / 0.5571 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.905e-05/0.3378, allocations: 0 / 0.5571 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.18e-05/0.3379, allocations: 8 kB / 0.5571 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.722e-05/0.338, allocations: 0 / 0.5571 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.136e-05/0.3381, allocations: 0 / 0.5571 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.3381, allocations: 3.938 kB / 0.5571 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.3383, allocations: 19.97 kB / 0.5571 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.3383, allocations: 0 / 0.5571 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.444e-05/0.3384, allocations: 29.64 kB / 0.5571 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.3385, allocations: 11.98 kB / 0.5571 GB, free: 11.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3385, allocations: 0 / 0.5571 GB, free: 11.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3385, allocations: 0 / 0.5571 GB, free: 11.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.3385, allocations: 0 / 0.5571 GB, free: 11.25 MB / 430.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.0005821/0.3391, allocations: 311.4 kB / 0.5574 GB, free: 10.9 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.692e-05/0.3392, allocations: 12.09 kB / 0.5574 GB, free: 10.89 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.266e-05/0.3393, allocations: 30.56 kB / 0.5575 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.285e-05/0.3393, allocations: 3.938 kB / 0.5575 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.3395, allocations: 163.1 kB / 0.5576 GB, free: 10.65 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.3396, allocations: 0 / 0.5576 GB, free: 10.65 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.3396, allocations: 0 / 0.5576 GB, free: 10.65 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.3398, allocations: 33.66 kB / 0.5577 GB, free: 10.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.3398, allocations: 0 / 0.5577 GB, free: 10.61 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.3398, allocations: 4 kB / 0.5577 GB, free: 10.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.3399, allocations: 0 / 0.5577 GB, free: 10.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.983e-05/0.3399, allocations: 0 / 0.5577 GB, free: 10.61 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/0.3401, allocations: 153.7 kB / 0.5578 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.3404, allocations: 18.52 kB / 0.5578 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.074e-05/0.3404, allocations: 4.094 kB / 0.5578 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.562e-05/0.3406, allocations: 30.56 kB / 0.5579 GB, free: 10.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.923e-06/0.3406, allocations: 4 kB / 0.5579 GB, free: 10.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.00022/0.3408, allocations: 37.66 kB / 0.5579 GB, free: 10.29 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/0.3409, allocations: 51.41 kB / 0.558 GB, free: 10.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.784e-05/0.341, allocations: 93.86 kB / 0.558 GB, free: 10.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.341, allocations: 25.7 kB / 0.5581 GB, free: 10.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/0.3411, allocations: 84.08 kB / 0.5581 GB, free: 10.01 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/0.3411, allocations: 3.984 kB / 0.5581 GB, free: 10 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.3412, allocations: 0 / 0.5581 GB, free: 10 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.3414, allocations: 319 kB / 0.5585 GB, free: 9.684 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.48e-05/0.3414, allocations: 0 / 0.5585 GB, free: 9.684 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.427e-05/0.3414, allocations: 4 kB / 0.5585 GB, free: 9.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.321e-05/0.3415, allocations: 0 / 0.5585 GB, free: 9.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.3415, allocations: 0 / 0.5585 GB, free: 9.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001041/0.3416, allocations: 45.62 kB / 0.5585 GB, free: 9.629 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.3416, allocations: 4 kB / 0.5585 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.3417, allocations: 0 / 0.5585 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.3417, allocations: 3.984 kB / 0.5585 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.414e-05/0.3418, allocations: 8.094 kB / 0.5585 GB, free: 9.613 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.3418, allocations: 7.891 kB / 0.5585 GB, free: 9.605 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.426e-05/0.3419, allocations: 3.906 kB / 0.5585 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.3419, allocations: 0 / 0.5585 GB, free: 9.602 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001224/0.342, allocations: 109.8 kB / 0.5586 GB, free: 9.484 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.3421, allocations: 4 kB / 0.5586 GB, free: 9.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.3423, allocations: 44.81 kB / 0.5587 GB, free: 9.426 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.3423, allocations: 0 / 0.5587 GB, free: 9.426 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/0.3424, allocations: 4 kB / 0.5587 GB, free: 9.422 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.3424, allocations: 3.953 kB / 0.5587 GB, free: 9.418 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.3426, allocations: 149.7 kB / 0.5588 GB, free: 9.223 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3426, allocations: 0 / 0.5588 GB, free: 9.223 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.853e-05/0.3426, allocations: 3.984 kB / 0.5588 GB, free: 9.219 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3426, allocations: 0 / 0.5588 GB, free: 9.219 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3427, allocations: 4 kB / 0.5588 GB, free: 9.215 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3427, allocations: 0 / 0.5588 GB, free: 9.215 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3427, allocations: 0 / 0.5588 GB, free: 9.215 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.3428, allocations: 65.06 kB / 0.5589 GB, free: 9.133 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.3429, allocations: 85.09 kB / 0.559 GB, free: 9.031 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.3429, allocations: 0 / 0.559 GB, free: 9.031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.831e-05/0.343, allocations: 0 / 0.559 GB, free: 9.031 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.359e-05/0.343, allocations: 0 / 0.559 GB, free: 9.031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.343, allocations: 0 / 0.559 GB, free: 9.031 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.899e-05/0.3431, allocations: 75.28 kB / 0.5591 GB, free: 8.957 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.3431, allocations: 8.031 kB / 0.5591 GB, free: 8.949 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003673/0.3435, allocations: 8 kB / 0.5591 GB, free: 8.941 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006292/0.3441, allocations: 0.5977 MB / 0.5597 GB, free: 8.312 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.18e-05/0.3442, allocations: 4 kB / 0.5597 GB, free: 8.309 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3443, allocations: 4.094 kB / 0.5597 GB, free: 8.305 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.763e-05/0.3443, allocations: 4 kB / 0.5597 GB, free: 8.301 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.3445, allocations: 2.031 kB / 0.5597 GB, free: 8.301 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005028/0.345, allocations: 118.4 kB / 0.5598 GB, free: 8.148 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005964/0.3456, allocations: 0.6731 MB / 0.5604 GB, free: 7.449 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.082e-05/0.3457, allocations: 8.062 kB / 0.5604 GB, free: 7.441 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.638e-05/0.3457, allocations: 7.438 kB / 0.5604 GB, free: 7.434 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3457, allocations: 0 / 0.5604 GB, free: 7.434 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0348/0.3805, allocations: 0.8136 MB / 0.5612 GB, free: 6.754 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005533/0.3812, allocations: 185.7 kB / 0.5614 GB, free: 6.508 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.822/3.203, allocations: 3.938 kB / 0.5614 GB, free: 6.504 MB / 430.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/linux/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) Environment - environmentSimulation: