Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynominal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Polynominal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynominal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Polynominal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.497/1.497, allocations: 249.5 MB / 257 MB, free: 7.012 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001333/0.001333, allocations: 187.5 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.3 MB / 0.5671 GB, free: 15.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009267/0.0009267, allocations: 97.66 kB / 0.6714 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.142e-05/2.143e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1713, allocations: 106.3 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6026/0.7739, allocations: 131.9 MB / 1.014 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001902/0.7741, allocations: 70.77 kB / 1.014 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002258/0.7764, allocations: 0.7694 MB / 1.015 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7764, allocations: 4 kB / 1.015 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.7764, allocations: 0 / 1.015 GB, free: 4.762 MB / 0.6355 GB 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.000367/0.7768, allocations: 335.6 kB / 1.015 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.7769, allocations: 8.031 kB / 1.015 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.7769, allocations: 4 kB / 1.015 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.777, allocations: 175.8 kB / 1.015 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.777, allocations: 0 / 1.015 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.7771, allocations: 7.938 kB / 1.015 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.963e-05/0.7771, allocations: 20.38 kB / 1.015 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.731e-05/0.7772, allocations: 33.69 kB / 1.016 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.7772, allocations: 0 / 1.016 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.7772, allocations: 0 / 1.016 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.7773, allocations: 2.734 kB / 1.016 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.7776, allocations: 257 kB / 1.016 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.499e-05/0.7777, allocations: 30.45 kB / 1.016 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.701e-05/0.7777, allocations: 15.78 kB / 1.016 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.7778, allocations: 11.81 kB / 1.016 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.7778, allocations: 30.56 kB / 1.016 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.7778, allocations: 0 / 1.016 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001897/0.778, allocations: 45.62 kB / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.7781, allocations: 55.44 kB / 1.016 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.504e-05/0.7781, allocations: 100.8 kB / 1.016 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.7782, allocations: 25.7 kB / 1.016 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/0.7782, allocations: 80.14 kB / 1.016 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.7782, allocations: 11.78 kB / 1.016 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/0.7783, allocations: 0 / 1.016 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.7784, allocations: 322.8 kB / 1.016 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.803e-05/0.7784, allocations: 7.688 kB / 1.016 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.351e-05/0.7784, allocations: 8 kB / 1.016 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.083e-05/0.7785, allocations: 15.8 kB / 1.016 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.7785, allocations: 0 / 1.016 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.764e-05/0.7786, allocations: 41.14 kB / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.7786, allocations: 4 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.7786, allocations: 0 / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.7786, allocations: 7.984 kB / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.151e-05/0.7787, allocations: 8 kB / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.7787, allocations: 4.094 kB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.655e-05/0.7788, allocations: 11.92 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.7788, allocations: 4 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB 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.722e-05/0.7789, allocations: 104.9 kB / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001045/0.779, allocations: 53.47 kB / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.779, allocations: 4 kB / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.7792, allocations: 65.5 kB / 1.017 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.7792, allocations: 0 / 1.017 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.7792, allocations: 0 / 1.017 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.7792, allocations: 0 / 1.017 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.7793, allocations: 141.9 kB / 1.017 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.7793, allocations: 4.234 kB / 1.017 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.586e-05/0.7794, allocations: 15.98 kB / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.7794, allocations: 0 / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.7794, allocations: 0 / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.7794, allocations: 0 / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7794, allocations: 4.031 kB / 1.017 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.7796, allocations: 154.9 kB / 1.017 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.7796, allocations: 77.11 kB / 1.017 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.7797, allocations: 3.984 kB / 1.017 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.134e-05/0.7797, allocations: 8 kB / 1.017 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.788e-05/0.7798, allocations: 3.984 kB / 1.017 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.7798, allocations: 7.969 kB / 1.017 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.58e-05/0.7798, allocations: 87.22 kB / 1.017 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7798, allocations: 0 / 1.017 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002071/0.7801, allocations: 8 kB / 1.017 GB, free: 2.172 MB / 0.6355 GB 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.0004126/0.7805, allocations: 0.6719 MB / 1.018 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.244e-05/0.7806, allocations: 23.84 kB / 1.018 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.7806, allocations: 0 / 1.018 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.113e-05/0.7806, allocations: 11.8 kB / 1.018 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.7808, allocations: 6.406 kB / 1.018 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003305/0.7811, allocations: 105.3 kB / 1.018 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.7814, allocations: 0.6806 MB / 1.019 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.679e-05/0.7814, allocations: 8.125 kB / 1.019 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.571e-05/0.7815, allocations: 11.06 kB / 1.019 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of SimCode: time 2.61e-07/0.7815, allocations: 0 / 1.019 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.8003, allocations: 0.8473 MB / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/0.8005, allocations: 143.1 kB / 1.02 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.36/2.161, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Polynominal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Polynominal.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)