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.516/1.516, allocations: 249.3 MB / 261.8 MB, free: 5.844 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.001318/0.001318, allocations: 182.3 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.764/1.764, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0009156/0.0009156, allocations: 108.2 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.107e-05/4.126e-05, allocations: 7.984 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2514, allocations: 106.3 MB / 0.8919 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8424/1.094, allocations: 131.6 MB / 1.02 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/1.094, allocations: 65.47 kB / 1.02 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002427/1.097, allocations: 0.7702 MB / 1.021 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.555e-06/1.097, allocations: 0 / 1.021 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.546e-06/1.097, allocations: 0 / 1.021 GB, free: 2.398 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.0004087/1.097, allocations: 346.7 kB / 1.022 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/1.097, allocations: 8.031 kB / 1.022 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.529e-05/1.097, allocations: 37.94 kB / 1.022 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.428e-05/1.097, allocations: 4 kB / 1.022 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/1.097, allocations: 175.6 kB / 1.022 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.246e-05/1.097, allocations: 4 kB / 1.022 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/1.097, allocations: 0 / 1.022 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/1.098, allocations: 45.12 kB / 1.022 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/1.098, allocations: 4 kB / 1.022 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/1.098, allocations: 0 / 1.022 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/1.098, allocations: 2.734 kB / 1.022 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.385e-05/1.098, allocations: 11.31 kB / 1.022 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/1.098, allocations: 279.2 kB / 1.022 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.37e-05/1.098, allocations: 29.95 kB / 1.022 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.032e-05/1.098, allocations: 16.28 kB / 1.022 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/1.098, allocations: 4 kB / 1.022 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/1.098, allocations: 30.56 kB / 1.022 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/1.098, allocations: 0 / 1.022 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001546/1.099, allocations: 49.06 kB / 1.022 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/1.099, allocations: 55.44 kB / 1.022 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.531e-05/1.099, allocations: 100.9 kB / 1.022 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/1.099, allocations: 25.7 kB / 1.022 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.965e-05/1.099, allocations: 84.14 kB / 1.022 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/1.099, allocations: 15.58 kB / 1.022 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/1.099, allocations: 0 / 1.022 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001496/1.099, allocations: 314.8 kB / 1.023 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.236e-05/1.099, allocations: 7.188 kB / 1.023 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.119e-05/1.099, allocations: 11.81 kB / 1.023 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.79e-05/1.099, allocations: 7.984 kB / 1.023 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.099, allocations: 0 / 1.023 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.294e-05/1.099, allocations: 45.58 kB / 1.023 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/1.099, allocations: 5.875 kB / 1.023 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/1.099, allocations: 0 / 1.023 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/1.099, allocations: 3.938 kB / 1.023 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/1.099, allocations: 11.98 kB / 1.023 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/1.099, allocations: 8.031 kB / 1.023 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.372e-05/1.099, allocations: 11.98 kB / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/1.099, allocations: 3.75 kB / 1.023 GB, free: 0.5234 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 7.365e-05/1.099, allocations: 108.9 kB / 1.023 GB, free: 420 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/1.1, allocations: 3.906 kB / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000147/1.1, allocations: 60.22 kB / 1.023 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/1.1, allocations: 4 kB / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/1.1, allocations: 32 / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/1.1, allocations: 4 kB / 1.023 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/1.1, allocations: 161 kB / 1.023 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/1.1, allocations: 0 / 1.023 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.067e-05/1.1, allocations: 23.92 kB / 1.023 GB, free: 116 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/1.1, allocations: 0 / 1.023 GB, free: 116 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/1.1, allocations: 0 / 1.023 GB, free: 116 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.1, allocations: 3.938 kB / 1.023 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.1, allocations: 0 / 1.023 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/1.1, allocations: 154.1 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/1.1, allocations: 84.95 kB / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/1.1, allocations: 0 / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.241e-05/1.1, allocations: 8 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/1.1, allocations: 7.922 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/1.1, allocations: 0 / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.929e-05/1.1, allocations: 83.28 kB / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.1, allocations: 4.031 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002127/1.101, allocations: 8 kB / 1.024 GB, free: 15.75 MB / 0.6511 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.0005641/1.101, allocations: 0.6793 MB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.257e-05/1.101, allocations: 19.73 kB / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.101, allocations: 4.094 kB / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.986e-05/1.101, allocations: 11.19 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/1.102, allocations: 3.938 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003596/1.102, allocations: 106.9 kB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/1.102, allocations: 0.6848 MB / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.494e-05/1.102, allocations: 0 / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.973e-05/1.102, allocations: 15.12 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of SimCode: time 4.31e-07/1.102, allocations: 4.062 kB / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01424/1.117, allocations: 1.159 MB / 1.026 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004085/1.117, allocations: 158.8 kB / 1.026 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.497/2.614, allocations: 2.812 kB / 1.026 GB, free: 12.87 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)