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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009197/0.0009197, allocations: 179.6 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4506/0.4506, allocations: 90.81 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.237/1.237, allocations: 221.3 MB / 348.3 MB, free: 468 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008483/0.0008483, allocations: 94.84 kB / 421.2 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.138e-05/3.149e-05, allocations: 4 kB / 0.4897 GB, free: 5.27 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.326, allocations: 72.31 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1138/0.4399, allocations: 100.7 MB / 0.6587 GB, free: 3.586 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.4402, allocations: 79.94 kB / 0.6588 GB, free: 3.508 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001142/0.4413, allocations: 479.6 kB / 0.6592 GB, free: 3.039 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4414, allocations: 0 / 0.6592 GB, free: 3.039 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.4414, allocations: 3 kB / 0.6592 GB, free: 3.039 MB / 474.7 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.0002644/0.4416, allocations: 310.2 kB / 0.6595 GB, free: 2.695 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.4417, allocations: 15.98 kB / 0.6595 GB, free: 2.68 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.545e-05/0.4417, allocations: 33 kB / 0.6596 GB, free: 2.641 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.186e-05/0.4418, allocations: 8.766 kB / 0.6596 GB, free: 2.633 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.086e-05/0.4419, allocations: 163.1 kB / 0.6597 GB, free: 2.434 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.4419, allocations: 3.719 kB / 0.6597 GB, free: 2.434 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.4419, allocations: 0 / 0.6597 GB, free: 2.434 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.188e-05/0.442, allocations: 33.64 kB / 0.6598 GB, free: 2.395 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.442, allocations: 0 / 0.6598 GB, free: 2.395 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.442, allocations: 7.984 kB / 0.6598 GB, free: 2.387 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.442, allocations: 0 / 0.6598 GB, free: 2.387 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.33e-05/0.4421, allocations: 3.953 kB / 0.6598 GB, free: 2.383 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001432/0.4422, allocations: 151.8 kB / 0.6599 GB, free: 2.188 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.417e-05/0.4423, allocations: 18.58 kB / 0.6599 GB, free: 2.16 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.895e-05/0.4423, allocations: 12.89 kB / 0.6599 GB, free: 2.145 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.4423, allocations: 0 / 0.6599 GB, free: 2.145 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.4424, allocations: 34.56 kB / 0.66 GB, free: 2.102 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.4424, allocations: 0 / 0.66 GB, free: 2.102 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001286/0.4425, allocations: 29.7 kB / 0.66 GB, free: 2.066 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.4426, allocations: 55.41 kB / 0.6601 GB, free: 2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.864e-05/0.4426, allocations: 89.03 kB / 0.6601 GB, free: 1.906 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.4426, allocations: 25.7 kB / 0.6602 GB, free: 1.875 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.963e-05/0.4426, allocations: 80.14 kB / 0.6602 GB, free: 1.793 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.4427, allocations: 7.891 kB / 0.6603 GB, free: 1.785 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.155e-06/0.4427, allocations: 0 / 0.6603 GB, free: 1.785 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.4428, allocations: 314.8 kB / 0.6606 GB, free: 1.469 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.036e-05/0.4428, allocations: 4 kB / 0.6606 GB, free: 1.465 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.285e-06/0.4428, allocations: 0 / 0.6606 GB, free: 1.465 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.199e-05/0.4429, allocations: 12.84 kB / 0.6606 GB, free: 1.453 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4429, allocations: 0 / 0.6606 GB, free: 1.453 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.832e-05/0.4429, allocations: 33.7 kB / 0.6606 GB, free: 1.414 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.443, allocations: 4 kB / 0.6606 GB, free: 1.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.443, allocations: 0 / 0.6606 GB, free: 1.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.443, allocations: 0 / 0.6606 GB, free: 1.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.98e-05/0.443, allocations: 7.984 kB / 0.6606 GB, free: 1.402 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.443, allocations: 0 / 0.6606 GB, free: 1.402 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.438e-05/0.4431, allocations: 3.938 kB / 0.6606 GB, free: 1.398 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.4431, allocations: 1.312 kB / 0.6606 GB, free: 1.398 MB / 474.7 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 () * 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 6.76e-05/0.4432, allocations: 113 kB / 0.6607 GB, free: 1.281 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-06/0.4432, allocations: 3.938 kB / 0.6607 GB, free: 1.277 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.443e-05/0.4433, allocations: 44.75 kB / 0.6608 GB, free: 1.227 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4433, allocations: 0 / 0.6608 GB, free: 1.227 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4433, allocations: 4 kB / 0.6608 GB, free: 1.223 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.4433, allocations: 0 / 0.6608 GB, free: 1.223 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.398e-05/0.4434, allocations: 149.7 kB / 0.6609 GB, free: 1.027 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4434, allocations: 0.875 kB / 0.6609 GB, free: 1.027 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/0.4434, allocations: 4 kB / 0.6609 GB, free: 1.023 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.4434, allocations: 3.984 kB / 0.6609 GB, free: 1.02 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.4435, allocations: 0 / 0.6609 GB, free: 1.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.4435, allocations: 0 / 0.6609 GB, free: 1.02 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4435, allocations: 0 / 0.6609 GB, free: 1.02 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.159e-05/0.4435, allocations: 72.88 kB / 0.661 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.4436, allocations: 81.14 kB / 0.6611 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.4436, allocations: 3.984 kB / 0.6611 GB, free: 0.832 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.034e-05/0.4436, allocations: 0 / 0.6611 GB, free: 0.832 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.029e-05/0.4436, allocations: 0 / 0.6611 GB, free: 0.832 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.954e-06/0.4436, allocations: 4 kB / 0.6611 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.835e-05/0.4437, allocations: 75.28 kB / 0.6612 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4437, allocations: 0 / 0.6612 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000196/0.4439, allocations: 4 kB / 0.6612 GB, free: 0.75 MB / 474.7 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 () * 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.0003671/0.4443, allocations: 0.6007 MB / 0.6617 GB, free: 124 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 5.623e-05/0.4443, allocations: 7.938 kB / 0.6618 GB, free: 116 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4443, allocations: 0 / 0.6618 GB, free: 116 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 6.202e-06/0.4443, allocations: 0 / 0.6618 GB, free: 116 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.013e-05/0.4444, allocations: 4 kB / 0.6618 GB, free: 112 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002465/0.4447, allocations: 90.8 kB / 0.6618 GB, free: 15.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.4449, allocations: 0.6731 MB / 0.6625 GB, free: 15.29 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.467e-05/0.4449, allocations: 0 / 0.6625 GB, free: 15.29 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.445, allocations: 7.438 kB / 0.6625 GB, free: 15.28 MB / 490.7 MB Notification: Performance of SimCode: time 3.71e-07/0.445, allocations: 0 / 0.6625 GB, free: 15.28 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0101/0.4551, allocations: 0.8368 MB / 0.6633 GB, free: 14.6 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/0.4553, allocations: 152.7 kB / 0.6635 GB, free: 14.38 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.306/1.762, allocations: 1.828 kB / 0.6635 GB, free: 14.38 MB / 490.7 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)