Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.Average.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.Average,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Average,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Average",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.23/2.23, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001453/0.001453, allocations: 176.8 kB / 487.4 MB, free: 5.051 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.519/1.519, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 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.000947/0.0009471, allocations: 100.8 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.053e-05/2.054e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2377, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8429/1.081, allocations: 148.7 MB / 1.351 GB, free: 18.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/1.081, allocations: 75.05 kB / 1.351 GB, free: 18.21 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003887/1.085, allocations: 1.122 MB / 1.352 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.024e-06/1.085, allocations: 0.5625 kB / 1.352 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.368e-06/1.085, allocations: 4 kB / 1.352 GB, free: 33.84 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004026/1.085, allocations: 374.7 kB / 1.353 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/1.085, allocations: 11.53 kB / 1.353 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/1.085, allocations: 8.453 kB / 1.353 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/1.085, allocations: 188.3 kB / 1.353 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/1.086, allocations: 4 kB / 1.353 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/1.086, allocations: 5.234 kB / 1.353 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001049/1.086, allocations: 28.28 kB / 1.353 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/1.086, allocations: 59.12 kB / 1.353 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/1.086, allocations: 0 / 1.353 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/1.086, allocations: 4.781 kB / 1.353 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/1.086, allocations: 3.938 kB / 1.353 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/1.086, allocations: 314.4 kB / 1.353 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.753e-05/1.086, allocations: 35.31 kB / 1.353 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.305e-05/1.086, allocations: 16.92 kB / 1.353 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.881e-05/1.086, allocations: 8.781 kB / 1.353 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/1.086, allocations: 31.27 kB / 1.353 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/1.087, allocations: 0 / 1.353 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002114/1.087, allocations: 60.73 kB / 1.354 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/1.087, allocations: 55.34 kB / 1.354 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.658e-05/1.087, allocations: 109.9 kB / 1.354 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/1.087, allocations: 25.7 kB / 1.354 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/1.087, allocations: 97.36 kB / 1.354 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/1.087, allocations: 12.27 kB / 1.354 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/1.087, allocations: 0 / 1.354 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001306/1.087, allocations: 315.9 kB / 1.354 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.736e-05/1.087, allocations: 11.89 kB / 1.354 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.01e-05/1.087, allocations: 7.953 kB / 1.354 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.224e-05/1.087, allocations: 13 kB / 1.354 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/1.087, allocations: 0 / 1.354 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001049/1.087, allocations: 65.45 kB / 1.354 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/1.087, allocations: 3.875 kB / 1.354 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/1.087, allocations: 7.844 kB / 1.354 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/1.087, allocations: 0.7969 kB / 1.354 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/1.088, allocations: 20.39 kB / 1.354 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/1.088, allocations: 0.6562 kB / 1.354 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.716e-05/1.088, allocations: 16.47 kB / 1.354 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/1.088, allocations: 7.953 kB / 1.354 GB, free: 32.23 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 (3): * Single equations (assignments): 3 * 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.393e-05/1.088, allocations: 104.9 kB / 1.354 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001178/1.088, allocations: 61.27 kB / 1.354 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/1.088, allocations: 9.469 kB / 1.354 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/1.088, allocations: 65.77 kB / 1.355 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/1.088, allocations: 3.875 kB / 1.355 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.088, allocations: 3.953 kB / 1.355 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/1.088, allocations: 0.75 kB / 1.355 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/1.088, allocations: 154.7 kB / 1.355 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/1.088, allocations: 4 kB / 1.355 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/1.088, allocations: 20.98 kB / 1.355 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/1.088, allocations: 0 / 1.355 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/1.088, allocations: 0 / 1.355 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/1.088, allocations: 2.547 kB / 1.355 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.088, allocations: 3.938 kB / 1.355 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/1.089, allocations: 164.6 kB / 1.355 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.375e-05/1.089, allocations: 85.73 kB / 1.355 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/1.089, allocations: 0 / 1.355 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/1.089, allocations: 20.23 kB / 1.355 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/1.089, allocations: 2.203 kB / 1.355 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/1.089, allocations: 4.656 kB / 1.355 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.633e-05/1.089, allocations: 89.89 kB / 1.355 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.089, allocations: 4 kB / 1.355 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002053/1.089, allocations: 7.625 kB / 1.355 GB, free: 31.55 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 (3): * Single equations (assignments): 3 * 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.0004403/1.089, allocations: 0.6901 MB / 1.356 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.737e-05/1.09, allocations: 32.8 kB / 1.356 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/1.09, allocations: 0 / 1.356 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.111e-05/1.09, allocations: 22.3 kB / 1.356 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/1.09, allocations: 0.6562 kB / 1.356 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000354/1.09, allocations: 128 kB / 1.356 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/1.09, allocations: 0.6933 MB / 1.357 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.417e-05/1.09, allocations: 10.44 kB / 1.357 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/1.091, allocations: 12.02 kB / 1.357 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.091, allocations: 4 kB / 1.357 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/1.111, allocations: 1.129 MB / 1.358 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/1.111, allocations: 143.2 kB / 1.358 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.536/2.648, allocations: 3.938 kB / 1.358 GB, free: 29.79 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Average.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.Average_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_Average.fmu > Buildings_9_Buildings.Utilities.Math.Examples.Average.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.Average_res.mat does not exist to compare? outputFormat=mat