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.002134/0.002134, allocations: 182.4 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.5982/0.5982, allocations: 91.98 MB / 108.5 MB, free: 13.07 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.62/1.62, allocations: 223.2 MB / 354.3 MB, free: 10.45 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.0009266/0.0009265, allocations: 95.27 kB / 427.4 MB, free: 2.152 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003254, allocations: 16 kB / 0.4983 GB, free: 41.95 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1523, allocations: 72.3 MB / 0.5689 GB, free: 1.582 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.507/0.6593, allocations: 101.5 MB / 0.6681 GB, free: 2.789 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.6596, allocations: 79.94 kB / 0.6681 GB, free: 2.711 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002343/0.6619, allocations: 0.7879 MB / 0.6689 GB, free: 1.938 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6619, allocations: 0 / 0.6689 GB, free: 1.938 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.6619, allocations: 4 kB / 0.6689 GB, free: 1.934 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.0003647/0.6623, allocations: 347.8 kB / 0.6692 GB, free: 1.547 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.6624, allocations: 12.03 kB / 0.6692 GB, free: 1.535 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.93e-05/0.6624, allocations: 34.56 kB / 0.6693 GB, free: 1.492 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.654e-05/0.6625, allocations: 7.938 kB / 0.6693 GB, free: 1.484 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.6626, allocations: 177.8 kB / 0.6695 GB, free: 1.273 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.6626, allocations: 0 / 0.6695 GB, free: 1.273 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-06/0.6626, allocations: 0 / 0.6695 GB, free: 1.273 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.6628, allocations: 61.67 kB / 0.6695 GB, free: 1.207 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.6628, allocations: 0 / 0.6695 GB, free: 1.207 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.6628, allocations: 0 / 0.6695 GB, free: 1.207 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.6628, allocations: 0 / 0.6695 GB, free: 1.207 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.663, allocations: 51.91 kB / 0.6696 GB, free: 1.156 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/0.6634, allocations: 272.9 kB / 0.6698 GB, free: 0.8398 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.6636, allocations: 50.48 kB / 0.6699 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.6636, allocations: 8.062 kB / 0.6699 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.6636, allocations: 30.56 kB / 0.6699 GB, free: 0.7344 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.6637, allocations: 1.75 kB / 0.6699 GB, free: 0.7344 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003498/0.664, allocations: 109.6 kB / 0.67 GB, free: 0.6211 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.6641, allocations: 55.41 kB / 0.6701 GB, free: 0.5547 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.186e-05/0.6641, allocations: 96.92 kB / 0.6702 GB, free: 464 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.6641, allocations: 29.7 kB / 0.6702 GB, free: 428 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.185e-05/0.6642, allocations: 88.08 kB / 0.6703 GB, free: 336 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/0.6642, allocations: 3.906 kB / 0.6703 GB, free: 332 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.6642, allocations: 0 / 0.6703 GB, free: 332 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.6643, allocations: 323 kB / 0.6706 GB, free: 0 / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.628e-05/0.6644, allocations: 19.98 kB / 0.6706 GB, free: 15.98 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.584e-05/0.6645, allocations: 23.98 kB / 0.6706 GB, free: 15.96 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.501e-05/0.6646, allocations: 32.03 kB / 0.6707 GB, free: 15.93 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6646, allocations: 0 / 0.6707 GB, free: 15.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002097/0.6648, allocations: 81.56 kB / 0.6707 GB, free: 15.84 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.6649, allocations: 4.031 kB / 0.6707 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.6649, allocations: 4 kB / 0.6707 GB, free: 15.83 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.6649, allocations: 3.938 kB / 0.6707 GB, free: 15.83 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.915e-05/0.665, allocations: 11.98 kB / 0.6708 GB, free: 15.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.665, allocations: 7.953 kB / 0.6708 GB, free: 15.81 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.045e-05/0.6651, allocations: 7.938 kB / 0.6708 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.6651, allocations: 3.984 kB / 0.6708 GB, free: 15.8 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 () * Number of clocked 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 7.427e-05/0.6652, allocations: 117.8 kB / 0.6709 GB, free: 15.67 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.6652, allocations: 0 / 0.6709 GB, free: 15.67 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.6655, allocations: 85.19 kB / 0.671 GB, free: 15.58 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.6655, allocations: 3.984 kB / 0.671 GB, free: 15.58 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.6655, allocations: 3.812 kB / 0.671 GB, free: 15.58 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.6655, allocations: 15.92 kB / 0.671 GB, free: 15.56 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.6657, allocations: 153.7 kB / 0.6711 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.6657, allocations: 0 / 0.6711 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.557e-05/0.6657, allocations: 11.98 kB / 0.6712 GB, free: 15.35 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.6657, allocations: 0 / 0.6712 GB, free: 15.35 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.6658, allocations: 4 kB / 0.6712 GB, free: 15.35 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.6658, allocations: 0 / 0.6712 GB, free: 15.35 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6658, allocations: 0 / 0.6712 GB, free: 15.35 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.666, allocations: 187.4 kB / 0.6713 GB, free: 15.15 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.6661, allocations: 81.02 kB / 0.6714 GB, free: 15.05 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.6661, allocations: 0 / 0.6714 GB, free: 15.05 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.369e-05/0.6662, allocations: 16.02 kB / 0.6714 GB, free: 15.04 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.6662, allocations: 0 / 0.6714 GB, free: 15.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.6662, allocations: 4 kB / 0.6714 GB, free: 15.03 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.43e-05/0.6663, allocations: 83.28 kB / 0.6715 GB, free: 14.95 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6663, allocations: 0 / 0.6715 GB, free: 14.95 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002075/0.6665, allocations: 15.98 kB / 0.6715 GB, free: 14.93 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 () * Number of clocked 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.0005385/0.667, allocations: 0.7124 MB / 0.6722 GB, free: 14.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002127/0.6673, allocations: 55.98 kB / 0.6723 GB, free: 14.14 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.6673, allocations: 0 / 0.6723 GB, free: 14.14 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 8.64e-05/0.6674, allocations: 19.98 kB / 0.6723 GB, free: 14.12 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.6676, allocations: 8 kB / 0.6723 GB, free: 14.11 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/0.668, allocations: 158.8 kB / 0.6725 GB, free: 13.91 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.6682, allocations: 0.6809 MB / 0.6731 GB, free: 13.21 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 2.289e-05/0.6683, allocations: 0 / 0.6731 GB, free: 13.21 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.6683, allocations: 11.44 kB / 0.6731 GB, free: 13.2 MB / 474.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6683, allocations: 0 / 0.6731 GB, free: 13.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01093/0.6792, allocations: 1.145 MB / 0.6742 GB, free: 12.16 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/0.6794, allocations: 164.8 kB / 0.6744 GB, free: 11.92 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.539/2.219, allocations: 0 / 0.6744 GB, free: 11.92 MB / 474.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)