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.001568/0.001568, allocations: 181.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.521/0.521, allocations: 91.98 MB / 108.5 MB, free: 13.06 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.873/1.873, allocations: 223.2 MB / 354.3 MB, free: 12.16 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008415/0.0008413, allocations: 100.3 kB / 427.4 MB, free: 3.934 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003438, allocations: 15.98 kB / 0.4983 GB, free: 42.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1492, allocations: 72.32 MB / 0.5689 GB, free: 1.812 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.486/0.6352, allocations: 100.8 MB / 0.6674 GB, free: 3.582 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.6355, allocations: 71.95 kB / 0.6674 GB, free: 3.512 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00122/0.6368, allocations: 488.2 kB / 0.6679 GB, free: 3.039 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.6368, allocations: 0 / 0.6679 GB, free: 3.039 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.6368, allocations: 0 / 0.6679 GB, free: 3.039 MB / 458.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.0003186/0.6372, allocations: 329.8 kB / 0.6682 GB, free: 2.672 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.6372, allocations: 8.031 kB / 0.6682 GB, free: 2.664 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.287e-05/0.6373, allocations: 30.56 kB / 0.6682 GB, free: 2.625 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.6373, allocations: 3.953 kB / 0.6683 GB, free: 2.621 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.6374, allocations: 166.7 kB / 0.6684 GB, free: 2.422 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.6375, allocations: 0.875 kB / 0.6684 GB, free: 2.422 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.679e-06/0.6375, allocations: 3.984 kB / 0.6684 GB, free: 2.418 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.6376, allocations: 29.69 kB / 0.6684 GB, free: 2.383 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.6376, allocations: 6.297 kB / 0.6684 GB, free: 2.379 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.6376, allocations: 4 kB / 0.6685 GB, free: 2.375 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.6376, allocations: 0 / 0.6685 GB, free: 2.375 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.502e-05/0.6377, allocations: 7.891 kB / 0.6685 GB, free: 2.367 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.6378, allocations: 146.3 kB / 0.6686 GB, free: 2.176 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.137e-05/0.6379, allocations: 18.61 kB / 0.6686 GB, free: 2.148 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.412e-05/0.6379, allocations: 0 / 0.6686 GB, free: 2.148 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/0.638, allocations: 42.61 kB / 0.6687 GB, free: 2.098 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.638, allocations: 0 / 0.6687 GB, free: 2.098 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001368/0.6381, allocations: 33.64 kB / 0.6687 GB, free: 2.059 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.6382, allocations: 51.41 kB / 0.6687 GB, free: 1.996 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.673e-05/0.6382, allocations: 85 kB / 0.6688 GB, free: 1.906 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.6383, allocations: 29.7 kB / 0.6688 GB, free: 1.871 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.665e-05/0.6383, allocations: 80.14 kB / 0.6689 GB, free: 1.789 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.6383, allocations: 3.906 kB / 0.6689 GB, free: 1.785 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-06/0.6383, allocations: 4 kB / 0.6689 GB, free: 1.781 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.6385, allocations: 318.9 kB / 0.6692 GB, free: 1.461 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.777e-06/0.6385, allocations: 0 / 0.6692 GB, free: 1.461 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.833e-06/0.6385, allocations: 3.984 kB / 0.6692 GB, free: 1.457 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.757e-05/0.6385, allocations: 4 kB / 0.6692 GB, free: 1.453 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.6385, allocations: 0 / 0.6692 GB, free: 1.453 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.141e-05/0.6386, allocations: 34.19 kB / 0.6693 GB, free: 1.414 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.6386, allocations: 4 kB / 0.6693 GB, free: 1.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.6386, allocations: 8.812 kB / 0.6693 GB, free: 1.402 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.6387, allocations: 96 / 0.6693 GB, free: 1.402 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.118e-05/0.6387, allocations: 4 kB / 0.6693 GB, free: 1.398 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.6388, allocations: 3.938 kB / 0.6693 GB, free: 1.395 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.722e-05/0.6388, allocations: 3.938 kB / 0.6693 GB, free: 1.391 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.6388, allocations: 7.984 kB / 0.6693 GB, free: 1.383 MB / 458.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 () * 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 7.968e-05/0.6389, allocations: 113.8 kB / 0.6694 GB, free: 1.262 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-06/0.6389, allocations: 0 / 0.6694 GB, free: 1.262 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.639, allocations: 41.52 kB / 0.6695 GB, free: 1.219 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.639, allocations: 3.984 kB / 0.6695 GB, free: 1.215 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.639, allocations: 0 / 0.6695 GB, free: 1.215 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.639, allocations: 0 / 0.6695 GB, free: 1.215 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.6392, allocations: 151.9 kB / 0.6696 GB, free: 1.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.6392, allocations: 0 / 0.6696 GB, free: 1.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.729e-05/0.6392, allocations: 4 kB / 0.6696 GB, free: 1.016 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.6392, allocations: 0 / 0.6696 GB, free: 1.016 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.6392, allocations: 3.938 kB / 0.6696 GB, free: 1.012 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6392, allocations: 0 / 0.6696 GB, free: 1.012 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.6392, allocations: 4.031 kB / 0.6696 GB, free: 1.008 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.326e-05/0.6393, allocations: 61.08 kB / 0.6697 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.6393, allocations: 81.11 kB / 0.6698 GB, free: 0.832 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.6394, allocations: 0 / 0.6698 GB, free: 0.832 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.116e-05/0.6394, allocations: 0 / 0.6698 GB, free: 0.832 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.433e-05/0.6394, allocations: 7.984 kB / 0.6698 GB, free: 0.8242 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.6394, allocations: 0 / 0.6698 GB, free: 0.8242 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.936e-05/0.6394, allocations: 79.31 kB / 0.6698 GB, free: 0.7461 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6395, allocations: 0 / 0.6698 GB, free: 0.7461 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002026/0.6397, allocations: 4 kB / 0.6698 GB, free: 0.7422 MB / 458.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 () * 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.0004401/0.6401, allocations: 0.6007 MB / 0.6704 GB, free: 116 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.292e-05/0.6402, allocations: 8.031 kB / 0.6704 GB, free: 108 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6402, allocations: 0 / 0.6704 GB, free: 108 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.556e-06/0.6402, allocations: 4 kB / 0.6704 GB, free: 104 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.872e-05/0.6403, allocations: 1.719 kB / 0.6704 GB, free: 104 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003244/0.6406, allocations: 112.8 kB / 0.6705 GB, free: 15.95 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.6409, allocations: 0.6731 MB / 0.6712 GB, free: 15.25 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.196e-05/0.641, allocations: 8.125 kB / 0.6712 GB, free: 15.24 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.641, allocations: 11.38 kB / 0.6712 GB, free: 15.23 MB / 474.7 MB Notification: Performance of SimCode: time 3.01e-07/0.641, allocations: 0 / 0.6712 GB, free: 15.23 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01158/0.6526, allocations: 0.8219 MB / 0.672 GB, free: 14.54 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/0.6528, allocations: 172.1 kB / 0.6722 GB, free: 14.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.466/2.118, allocations: 0 / 0.6722 GB, free: 14.3 MB / 474.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)