Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynominal,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_Polynominal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynominal,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_Polynominal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.586/1.586, allocations: 289.7 MB / 302.2 MB, free: 2.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00125/0.00125, allocations: 186.2 kB / 371.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008562/0.0008562, allocations: 90.72 kB / 0.745 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.882e-05/4.902e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.2989, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.113/1.412, allocations: 138.9 MB / 1.115 GB, free: 44.77 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/1.412, allocations: 71.08 kB / 1.116 GB, free: 44.75 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002397/1.415, allocations: 0.7739 MB / 1.116 GB, free: 44.19 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.894e-06/1.415, allocations: 0.5938 kB / 1.116 GB, free: 44.19 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.388e-05/1.415, allocations: 0.5938 kB / 1.116 GB, free: 44.19 MB / 0.7448 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.0003222/1.415, allocations: 339 kB / 1.117 GB, free: 43.83 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/1.415, allocations: 8.688 kB / 1.117 GB, free: 43.82 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.474e-05/1.415, allocations: 35.17 kB / 1.117 GB, free: 43.78 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.717e-05/1.415, allocations: 9.344 kB / 1.117 GB, free: 43.78 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.353e-05/1.415, allocations: 161.4 kB / 1.117 GB, free: 43.58 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/1.415, allocations: 4.047 kB / 1.117 GB, free: 43.58 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/1.415, allocations: 7.938 kB / 1.117 GB, free: 43.57 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/1.415, allocations: 39.2 kB / 1.117 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/1.415, allocations: 0.6562 kB / 1.117 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/1.415, allocations: 4 kB / 1.117 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/1.415, allocations: 2.25 kB / 1.117 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.926e-05/1.415, allocations: 22.56 kB / 1.117 GB, free: 43.53 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003821/1.416, allocations: 269.6 kB / 1.117 GB, free: 43.24 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.066e-05/1.416, allocations: 33.55 kB / 1.117 GB, free: 43.2 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.613e-05/1.416, allocations: 12.31 kB / 1.117 GB, free: 43.19 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.691e-05/1.416, allocations: 6.188 kB / 1.117 GB, free: 43.19 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/1.416, allocations: 37.09 kB / 1.117 GB, free: 43.15 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/1.416, allocations: 0 / 1.117 GB, free: 43.15 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001475/1.416, allocations: 42.64 kB / 1.117 GB, free: 43.11 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/1.416, allocations: 51.41 kB / 1.117 GB, free: 43.04 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.199e-05/1.416, allocations: 105.2 kB / 1.117 GB, free: 42.94 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/1.416, allocations: 26.27 kB / 1.117 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.833e-05/1.416, allocations: 88.59 kB / 1.118 GB, free: 42.82 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/1.416, allocations: 11.84 kB / 1.118 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/1.416, allocations: 3.938 kB / 1.118 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.783e-05/1.416, allocations: 318.1 kB / 1.118 GB, free: 42.49 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.916e-05/1.416, allocations: 7.562 kB / 1.118 GB, free: 42.49 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.483e-05/1.416, allocations: 8.438 kB / 1.118 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.212e-05/1.416, allocations: 11.48 kB / 1.118 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/1.416, allocations: 0 / 1.118 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.811e-05/1.417, allocations: 55.98 kB / 1.118 GB, free: 42.43 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/1.417, allocations: 4 kB / 1.118 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/1.417, allocations: 0 / 1.118 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/1.417, allocations: 0.5625 kB / 1.118 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.204e-05/1.417, allocations: 11.33 kB / 1.118 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/1.417, allocations: 0 / 1.118 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.088e-05/1.417, allocations: 12.59 kB / 1.118 GB, free: 42.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/1.417, allocations: 3.375 kB / 1.118 GB, free: 42.4 MB / 0.7448 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.862e-05/1.417, allocations: 112.9 kB / 1.118 GB, free: 42.29 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/1.417, allocations: 1.266 kB / 1.118 GB, free: 42.29 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001507/1.417, allocations: 52.86 kB / 1.118 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/1.417, allocations: 0 / 1.118 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.417, allocations: 4 kB / 1.118 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.417, allocations: 7.5 kB / 1.118 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/1.417, allocations: 160.2 kB / 1.118 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.417, allocations: 4.344 kB / 1.118 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.998e-05/1.417, allocations: 8 kB / 1.118 GB, free: 42.03 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/1.417, allocations: 7.891 kB / 1.118 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/1.417, allocations: 0.875 kB / 1.118 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/1.417, allocations: 0 / 1.118 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/1.417, allocations: 0 / 1.118 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/1.418, allocations: 152.7 kB / 1.118 GB, free: 41.87 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.351e-05/1.418, allocations: 85.02 kB / 1.119 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/1.418, allocations: 3.375 kB / 1.119 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.781e-05/1.418, allocations: 8.172 kB / 1.119 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/1.418, allocations: 5.031 kB / 1.119 GB, free: 41.76 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/1.418, allocations: 0 / 1.119 GB, free: 41.76 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.175e-05/1.418, allocations: 91.06 kB / 1.119 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.418, allocations: 4.031 kB / 1.119 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002107/1.418, allocations: 12 kB / 1.119 GB, free: 41.66 MB / 0.7448 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.0003995/1.418, allocations: 0.6779 MB / 1.119 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.371e-05/1.419, allocations: 16.12 kB / 1.119 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.419, allocations: 4.094 kB / 1.119 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.774e-05/1.419, allocations: 15.22 kB / 1.119 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/1.419, allocations: 0 / 1.119 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/1.419, allocations: 98.23 kB / 1.119 GB, free: 40.83 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/1.419, allocations: 0.6839 MB / 1.12 GB, free: 40.13 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.601e-05/1.419, allocations: 4.5 kB / 1.12 GB, free: 40.12 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/1.419, allocations: 10.72 kB / 1.12 GB, free: 40.12 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/1.419, allocations: 8.062 kB / 1.12 GB, free: 40.11 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01494/1.434, allocations: 1.139 MB / 1.121 GB, free: 39.53 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/1.435, allocations: 147.8 kB / 1.121 GB, free: 39.31 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/3.016, allocations: 0 / 1.121 GB, free: 39.31 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_Polynominal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_Polynominal.fmu > Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)