Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynominal,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_Polynominal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynominal,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.75/2.75, allocations: 284.9 MB / 292.4 MB, free: 10.56 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.002021/0.00202, allocations: 180.8 kB / 360.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.149/2.149, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001098/0.001097, allocations: 101.2 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.672e-05/2.67e-05, allocations: 4 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8943/0.8943, allocations: 115.3 MB / 0.9634 GB, free: 78.56 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2412/1.136, allocations: 137.1 MB / 1.097 GB, free: 3.391 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/1.136, allocations: 71.95 kB / 1.097 GB, free: 3.32 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00337/1.139, allocations: 0.7704 MB / 1.098 GB, free: 2.566 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.673e-06/1.139, allocations: 0 / 1.098 GB, free: 2.566 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.977e-06/1.139, allocations: 4 kB / 1.098 GB, free: 2.562 MB / 0.698 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.0004678/1.14, allocations: 342.3 kB / 1.098 GB, free: 2.191 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/1.14, allocations: 12.03 kB / 1.098 GB, free: 2.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/1.14, allocations: 5.109 kB / 1.098 GB, free: 2.176 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/1.14, allocations: 171.1 kB / 1.099 GB, free: 1.973 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/1.14, allocations: 4.594 kB / 1.099 GB, free: 1.969 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/1.14, allocations: 0 / 1.099 GB, free: 1.969 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001084/1.14, allocations: 12.59 kB / 1.099 GB, free: 1.957 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.994e-05/1.14, allocations: 42.28 kB / 1.099 GB, free: 1.91 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/1.14, allocations: 4 kB / 1.099 GB, free: 1.906 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/1.14, allocations: 3.281 kB / 1.099 GB, free: 1.906 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/1.14, allocations: 0.5938 kB / 1.099 GB, free: 1.906 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005757/1.141, allocations: 247.5 kB / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.934e-05/1.141, allocations: 29.23 kB / 1.099 GB, free: 1.594 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.85e-05/1.141, allocations: 21.5 kB / 1.099 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.63e-05/1.141, allocations: 0.6875 kB / 1.099 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/1.141, allocations: 35.16 kB / 1.099 GB, free: 1.527 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.854e-06/1.141, allocations: 0.5938 kB / 1.099 GB, free: 1.527 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.00024/1.142, allocations: 46.34 kB / 1.099 GB, free: 1.477 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/1.142, allocations: 52.12 kB / 1.099 GB, free: 1.414 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.901e-05/1.142, allocations: 97 kB / 1.099 GB, free: 1.312 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/1.142, allocations: 26.27 kB / 1.099 GB, free: 1.281 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/1.142, allocations: 88.61 kB / 1.099 GB, free: 1.191 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/1.142, allocations: 8.938 kB / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/1.142, allocations: 0 / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001442/1.142, allocations: 319.4 kB / 1.1 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.091e-05/1.142, allocations: 11.94 kB / 1.1 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.749e-05/1.142, allocations: 8.625 kB / 1.1 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.221e-05/1.142, allocations: 5.312 kB / 1.1 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.142, allocations: 0 / 1.1 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001497/1.142, allocations: 56.22 kB / 1.1 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/1.142, allocations: 9.094 kB / 1.1 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/1.142, allocations: 0 / 1.1 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/1.142, allocations: 0 / 1.1 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/1.143, allocations: 11.98 kB / 1.1 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/1.143, allocations: 0 / 1.1 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.218e-05/1.143, allocations: 12.77 kB / 1.1 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/1.143, allocations: 1.5 kB / 1.1 GB, free: 0.75 MB / 0.698 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 8.574e-05/1.143, allocations: 108.7 kB / 1.1 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001489/1.143, allocations: 52.41 kB / 1.1 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/1.143, allocations: 0 / 1.1 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001889/1.143, allocations: 64.97 kB / 1.1 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/1.143, allocations: 0 / 1.1 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/1.143, allocations: 7.984 kB / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/1.143, allocations: 1.312 kB / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/1.143, allocations: 138.2 kB / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.143, allocations: 0 / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/1.144, allocations: 11.98 kB / 1.1 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/1.144, allocations: 0 / 1.1 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/1.144, allocations: 6.094 kB / 1.1 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/1.144, allocations: 0 / 1.1 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.144, allocations: 0 / 1.1 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/1.144, allocations: 149 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/1.144, allocations: 77.11 kB / 1.1 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/1.144, allocations: 11.25 kB / 1.1 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/1.144, allocations: 7.984 kB / 1.1 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/1.144, allocations: 0 / 1.1 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/1.144, allocations: 10.52 kB / 1.1 GB, free: 44 kB / 0.698 GB Notification: Performance of sorting global known variables: time 8.099e-05/1.144, allocations: 83.28 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.81e-07/1.144, allocations: 0 / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003593/1.145, allocations: 8 kB / 1.1 GB, free: 15.95 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 (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.0005971/1.145, allocations: 0.6915 MB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001084/1.145, allocations: 16 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.145, allocations: 0 / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.912e-05/1.145, allocations: 16.02 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/1.146, allocations: 8.062 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004934/1.146, allocations: 97.25 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/1.147, allocations: 0.6806 MB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.114e-05/1.147, allocations: 4 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/1.147, allocations: 11.44 kB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of SimCode: time 1.232e-06/1.147, allocations: 0 / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03569/1.182, allocations: 0.841 MB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000324/1.183, allocations: 136 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.364/3.547, allocations: 4 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_Polynominal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_Polynominal.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)