Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.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.Functions.Examples.Polynomial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_Polynomial",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.595/1.595, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.001052/0.001052, allocations: 172.9 kB / 366.7 MB, free: 1.641 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.878/1.878, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.001014/0.001014, allocations: 96.25 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.358e-05/3.352e-05, allocations: 8 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8547/0.8548, allocations: 116.3 MB / 0.9734 GB, free: 76.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2452/1.1, allocations: 137.5 MB / 1.108 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003341/1.1, allocations: 76.48 kB / 1.108 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.001442/1.102, allocations: 471.8 kB / 1.108 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.378e-06/1.102, allocations: 0.75 kB / 1.108 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.26e-05/1.102, allocations: 0 / 1.108 GB, free: 12.05 MB / 0.7136 GB 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.0003709/1.102, allocations: 321.7 kB / 1.108 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.746e-05/1.102, allocations: 8.031 kB / 1.108 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.698e-05/1.103, allocations: 4.688 kB / 1.108 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/1.103, allocations: 171 kB / 1.109 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/1.103, allocations: 1.094 kB / 1.109 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/1.103, allocations: 0 / 1.109 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.26e-05/1.103, allocations: 0 / 1.109 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/1.103, allocations: 31.34 kB / 1.109 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/1.103, allocations: 0.8125 kB / 1.109 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/1.103, allocations: 0 / 1.109 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/1.103, allocations: 3.156 kB / 1.109 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002055/1.103, allocations: 123.5 kB / 1.109 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.253e-05/1.103, allocations: 26.5 kB / 1.109 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.611e-05/1.103, allocations: 10.31 kB / 1.109 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.828e-05/1.103, allocations: 0.5 kB / 1.109 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/1.103, allocations: 35.22 kB / 1.109 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 3.116e-06/1.103, allocations: 1.641 kB / 1.109 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0003045/1.104, allocations: 34.42 kB / 1.109 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/1.104, allocations: 52.06 kB / 1.109 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.921e-05/1.104, allocations: 85 kB / 1.109 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/1.104, allocations: 29.61 kB / 1.109 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/1.104, allocations: 80.14 kB / 1.109 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.925e-05/1.104, allocations: 0.7812 kB / 1.109 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/1.104, allocations: 0 / 1.109 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001872/1.104, allocations: 319.4 kB / 1.109 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.076e-05/1.104, allocations: 1.312 kB / 1.109 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.056e-05/1.104, allocations: 0 / 1.109 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.894e-05/1.104, allocations: 8.688 kB / 1.109 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.104, allocations: 0 / 1.109 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.975e-05/1.104, allocations: 34.7 kB / 1.109 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.553e-05/1.105, allocations: 7.953 kB / 1.109 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.105, allocations: 3.891 kB / 1.109 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/1.105, allocations: 4 kB / 1.109 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.931e-05/1.105, allocations: 5.109 kB / 1.11 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/1.105, allocations: 0 / 1.11 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.893e-05/1.105, allocations: 4.781 kB / 1.11 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/1.105, allocations: 4 kB / 1.11 GB, free: 10.5 MB / 0.7136 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 (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 0.0001003/1.105, allocations: 106.1 kB / 1.11 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001024/1.105, allocations: 33.64 kB / 1.11 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/1.105, allocations: 8.453 kB / 1.11 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001766/1.105, allocations: 38.88 kB / 1.11 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/1.105, allocations: 0.5625 kB / 1.11 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.105, allocations: 1.25 kB / 1.11 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.105, allocations: 0 / 1.11 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/1.105, allocations: 134.2 kB / 1.11 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/1.105, allocations: 0 / 1.11 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.318e-05/1.105, allocations: 3.156 kB / 1.11 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/1.105, allocations: 0 / 1.11 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/1.105, allocations: 7.953 kB / 1.11 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/1.105, allocations: 0 / 1.11 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/1.105, allocations: 4.484 kB / 1.11 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/1.106, allocations: 63.88 kB / 1.11 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.796e-05/1.106, allocations: 82.05 kB / 1.11 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/1.106, allocations: 0 / 1.11 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.388e-05/1.106, allocations: 5.234 kB / 1.11 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.646e-05/1.106, allocations: 0 / 1.11 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/1.106, allocations: 0 / 1.11 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.291e-05/1.106, allocations: 76.31 kB / 1.11 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.5e-07/1.106, allocations: 0 / 1.11 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002017/1.106, allocations: 8 kB / 1.11 GB, free: 9.863 MB / 0.7136 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 (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.0005247/1.106, allocations: 0.6034 MB / 1.111 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.202e-05/1.107, allocations: 3.938 kB / 1.111 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.107, allocations: 5.906 kB / 1.111 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.426e-06/1.107, allocations: 3.984 kB / 1.111 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001165/1.107, allocations: 3.953 kB / 1.111 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/1.107, allocations: 80.73 kB / 1.111 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/1.107, allocations: 0.6768 MB / 1.111 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.529e-05/1.107, allocations: 5.625 kB / 1.111 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.948e-05/1.107, allocations: 7.438 kB / 1.111 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/1.107, allocations: 0 / 1.111 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02578/1.133, allocations: 0.5336 MB / 1.112 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/1.134, allocations: 140 kB / 1.112 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/2.75, allocations: 0 / 1.112 GB, free: 7.707 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)