Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_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.001899/0.001899, allocations: 178.7 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.534/0.534, allocations: 90.91 MB / 99.34 MB, free: 2.234 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 221.5 MB / 343.2 MB, free: 1.594 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008693/0.0008692, allocations: 94.75 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.132e-05/2.148e-05, allocations: 4 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1392, allocations: 72.31 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5097/0.649, allocations: 100.8 MB / 0.652 GB, free: 9.5 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.6492, allocations: 76.7 kB / 0.6521 GB, free: 9.461 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002211/0.6515, allocations: 0.7836 MB / 0.6529 GB, free: 8.746 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.6515, allocations: 3.938 kB / 0.6529 GB, free: 8.742 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.6515, allocations: 4 kB / 0.6529 GB, free: 8.738 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003384/0.6518, allocations: 343 kB / 0.6532 GB, free: 8.363 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.6519, allocations: 12.02 kB / 0.6532 GB, free: 8.352 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.6519, allocations: 7.953 kB / 0.6532 GB, free: 8.344 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.6521, allocations: 159.1 kB / 0.6534 GB, free: 8.148 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.6521, allocations: 4 kB / 0.6534 GB, free: 8.145 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.6521, allocations: 0 / 0.6534 GB, free: 8.145 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.134e-05/0.6522, allocations: 14.44 kB / 0.6534 GB, free: 8.137 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.744e-05/0.6522, allocations: 40.75 kB / 0.6534 GB, free: 8.094 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.6523, allocations: 4 kB / 0.6534 GB, free: 8.09 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.6523, allocations: 2.625 kB / 0.6534 GB, free: 8.09 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.6523, allocations: 7.953 kB / 0.6535 GB, free: 8.082 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004015/0.6527, allocations: 247.2 kB / 0.6537 GB, free: 7.812 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.305e-05/0.6528, allocations: 30.31 kB / 0.6537 GB, free: 7.777 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.705e-05/0.6528, allocations: 16.23 kB / 0.6537 GB, free: 7.762 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.6528, allocations: 4 kB / 0.6537 GB, free: 7.758 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.6529, allocations: 30.56 kB / 0.6538 GB, free: 7.719 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.6529, allocations: 0 / 0.6538 GB, free: 7.719 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001733/0.6531, allocations: 53.34 kB / 0.6538 GB, free: 7.668 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.6531, allocations: 59.3 kB / 0.6539 GB, free: 7.598 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.134e-05/0.6532, allocations: 93 kB / 0.654 GB, free: 7.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.6532, allocations: 29.58 kB / 0.654 GB, free: 7.469 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/0.6532, allocations: 88.16 kB / 0.6541 GB, free: 7.379 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.6533, allocations: 11.84 kB / 0.6541 GB, free: 7.367 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/0.6533, allocations: 0 / 0.6541 GB, free: 7.367 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.6534, allocations: 314.2 kB / 0.6544 GB, free: 7.055 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.711e-05/0.6534, allocations: 4 kB / 0.6544 GB, free: 7.051 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.335e-05/0.6534, allocations: 7.062 kB / 0.6544 GB, free: 7.047 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.993e-05/0.6535, allocations: 11.23 kB / 0.6544 GB, free: 7.039 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.6535, allocations: 0 / 0.6544 GB, free: 7.039 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.823e-05/0.6536, allocations: 45.03 kB / 0.6545 GB, free: 6.992 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.6536, allocations: 12 kB / 0.6545 GB, free: 6.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.6536, allocations: 0 / 0.6545 GB, free: 6.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.6536, allocations: 0 / 0.6545 GB, free: 6.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.14e-05/0.6537, allocations: 11.94 kB / 0.6545 GB, free: 6.969 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.6537, allocations: 3.984 kB / 0.6545 GB, free: 6.965 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.283e-05/0.6538, allocations: 11.95 kB / 0.6545 GB, free: 6.953 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.6538, allocations: 0 / 0.6545 GB, free: 6.953 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.054e-05/0.6539, allocations: 108.9 kB / 0.6546 GB, free: 6.84 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001002/0.654, allocations: 52.31 kB / 0.6546 GB, free: 6.789 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.654, allocations: 3.906 kB / 0.6546 GB, free: 6.785 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.6542, allocations: 52.89 kB / 0.6547 GB, free: 6.734 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.6542, allocations: 0 / 0.6547 GB, free: 6.734 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6542, allocations: 3.953 kB / 0.6547 GB, free: 6.73 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.6542, allocations: 4 kB / 0.6547 GB, free: 6.727 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.6543, allocations: 138.9 kB / 0.6548 GB, free: 6.562 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.6543, allocations: 0 / 0.6548 GB, free: 6.562 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.39e-05/0.6544, allocations: 19.98 kB / 0.6549 GB, free: 6.543 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.6544, allocations: 0 / 0.6549 GB, free: 6.543 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.6544, allocations: 0 / 0.6549 GB, free: 6.543 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.6544, allocations: 7.938 kB / 0.6549 GB, free: 6.535 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6545, allocations: 0 / 0.6549 GB, free: 6.535 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.6546, allocations: 142.4 kB / 0.655 GB, free: 6.387 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.6547, allocations: 93.02 kB / 0.6551 GB, free: 6.277 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.6547, allocations: 4 kB / 0.6551 GB, free: 6.273 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.603e-05/0.6548, allocations: 4 kB / 0.6551 GB, free: 6.27 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.043e-05/0.6548, allocations: 3.984 kB / 0.6551 GB, free: 6.266 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.6548, allocations: 4 kB / 0.6551 GB, free: 6.262 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.384e-05/0.6549, allocations: 83.16 kB / 0.6552 GB, free: 6.184 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6549, allocations: 0 / 0.6552 GB, free: 6.184 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002051/0.6551, allocations: 12 kB / 0.6552 GB, free: 6.172 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004694/0.6555, allocations: 0.6803 MB / 0.6559 GB, free: 5.469 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.836e-05/0.6556, allocations: 19.73 kB / 0.6559 GB, free: 5.453 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6556, allocations: 0 / 0.6559 GB, free: 5.453 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.969e-05/0.6557, allocations: 7.375 kB / 0.6559 GB, free: 5.449 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.6558, allocations: 9.406 kB / 0.6559 GB, free: 5.441 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/0.6562, allocations: 105 kB / 0.656 GB, free: 5.305 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.6565, allocations: 0.6806 MB / 0.6567 GB, free: 4.598 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.579e-05/0.6566, allocations: 4.438 kB / 0.6567 GB, free: 4.594 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.6566, allocations: 7.438 kB / 0.6567 GB, free: 4.586 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6566, allocations: 0 / 0.6567 GB, free: 4.586 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.6764, allocations: 0.847 MB / 0.6575 GB, free: 3.75 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/0.6767, allocations: 125.3 kB / 0.6576 GB, free: 3.559 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.519/2.196, allocations: 0 / 0.6576 GB, free: 3.559 MB / 458.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1)