Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.244/2.244, allocations: 387.4 MB / 394.9 MB, free: 13.42 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 188.5 kB / 487.4 MB, free: 5.059 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 221.5 MB / 0.7824 GB, free: 1.035 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008961/0.0008961, allocations: 87.91 kB / 0.9219 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.059e-05/2.062e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2267, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8233/1.05, allocations: 148.5 MB / 1.351 GB, free: 18.37 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000196/1.05, allocations: 77.36 kB / 1.351 GB, free: 18.37 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002769/1.053, allocations: 0.7747 MB / 1.352 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.654e-06/1.053, allocations: 0 / 1.352 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.222e-06/1.053, allocations: 4 kB / 1.352 GB, free: 34.04 MB / 0.8386 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.0003348/1.053, allocations: 343.2 kB / 1.352 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/1.053, allocations: 9.062 kB / 1.352 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/1.054, allocations: 6.828 kB / 1.352 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.692e-05/1.054, allocations: 166.5 kB / 1.352 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/1.054, allocations: 0 / 1.352 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/1.054, allocations: 1.312 kB / 1.352 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001041/1.054, allocations: 17.14 kB / 1.352 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.034e-05/1.054, allocations: 43.08 kB / 1.352 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/1.054, allocations: 1.312 kB / 1.352 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/1.054, allocations: 0 / 1.352 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/1.054, allocations: 5.281 kB / 1.352 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/1.054, allocations: 253.2 kB / 1.353 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.384e-05/1.054, allocations: 27.61 kB / 1.353 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.586e-05/1.054, allocations: 14.19 kB / 1.353 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/1.054, allocations: 1.969 kB / 1.353 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/1.054, allocations: 36.42 kB / 1.353 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/1.054, allocations: 0 / 1.353 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001756/1.055, allocations: 44.62 kB / 1.353 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/1.055, allocations: 56.75 kB / 1.353 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.26e-05/1.055, allocations: 100.5 kB / 1.353 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/1.055, allocations: 26.41 kB / 1.353 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/1.055, allocations: 82.12 kB / 1.353 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/1.055, allocations: 13.59 kB / 1.353 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/1.055, allocations: 0 / 1.353 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001064/1.055, allocations: 317.5 kB / 1.353 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/1.055, allocations: 8.656 kB / 1.353 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.361e-05/1.055, allocations: 8.594 kB / 1.353 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.879e-05/1.055, allocations: 9.109 kB / 1.353 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/1.055, allocations: 1.312 kB / 1.353 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.639e-05/1.055, allocations: 52.66 kB / 1.353 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/1.055, allocations: 5.125 kB / 1.353 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/1.055, allocations: 4.375 kB / 1.353 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/1.055, allocations: 0 / 1.353 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.251e-05/1.055, allocations: 12.53 kB / 1.353 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/1.055, allocations: 5.953 kB / 1.354 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.221e-05/1.055, allocations: 10.45 kB / 1.354 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/1.055, allocations: 0 / 1.354 GB, free: 32.46 MB / 0.8386 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 5.697e-05/1.055, allocations: 109.5 kB / 1.354 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.747e-05/1.056, allocations: 43.92 kB / 1.354 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/1.056, allocations: 0.5625 kB / 1.354 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/1.056, allocations: 62.19 kB / 1.354 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/1.056, allocations: 4.859 kB / 1.354 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/1.056, allocations: 0 / 1.354 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/1.056, allocations: 0 / 1.354 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/1.056, allocations: 147.1 kB / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/1.056, allocations: 0.7031 kB / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.248e-05/1.056, allocations: 18.28 kB / 1.354 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/1.056, allocations: 0 / 1.354 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/1.056, allocations: 0.5625 kB / 1.354 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/1.056, allocations: 0 / 1.354 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.056, allocations: 0.5625 kB / 1.354 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/1.056, allocations: 148.6 kB / 1.354 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.829e-05/1.056, allocations: 81.56 kB / 1.354 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/1.056, allocations: 7.656 kB / 1.354 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.689e-05/1.056, allocations: 8.719 kB / 1.354 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/1.056, allocations: 4.672 kB / 1.354 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/1.056, allocations: 4.734 kB / 1.354 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.933e-05/1.056, allocations: 83.83 kB / 1.354 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.056, allocations: 0 / 1.354 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002069/1.056, allocations: 7.719 kB / 1.354 GB, free: 31.78 MB / 0.8386 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.0003625/1.057, allocations: 0.68 MB / 1.355 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.228e-05/1.057, allocations: 19.97 kB / 1.355 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.057, allocations: 0 / 1.355 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.149e-05/1.057, allocations: 11.83 kB / 1.355 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/1.057, allocations: 8.516 kB / 1.355 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002809/1.057, allocations: 102.5 kB / 1.355 GB, free: 31 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/1.058, allocations: 0.6774 MB / 1.356 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.189e-05/1.058, allocations: 4.453 kB / 1.356 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.269e-05/1.058, allocations: 15.31 kB / 1.356 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.058, allocations: 0 / 1.356 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/1.076, allocations: 0.8378 MB / 1.357 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/1.076, allocations: 135.2 kB / 1.357 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.539/2.615, allocations: 0 / 1.357 GB, free: 30.05 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.Polynomial_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_Polynomial.fmu > Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.Polynomial_res.mat does not exist to compare? outputFormat=mat