Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.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.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",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.3/2.3, 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.001379/0.00138, allocations: 180.6 kB / 487.4 MB, free: 5.07 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.598/1.598, allocations: 221.5 MB / 0.7824 GB, free: 0.9219 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.0009789/0.0009792, allocations: 95.83 kB / 0.9219 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.107e-05/2.11e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3198, allocations: 142.3 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.061/1.381, allocations: 151.3 MB / 1.354 GB, free: 18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/1.381, allocations: 91.2 kB / 1.354 GB, free: 18 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01001/1.391, allocations: 3.025 MB / 1.357 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.226e-06/1.391, allocations: 0 / 1.357 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.864e-05/1.391, allocations: 3.938 kB / 1.357 GB, free: 33.49 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006268/1.392, allocations: 488.2 kB / 1.357 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/1.392, allocations: 10.84 kB / 1.357 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/1.393, allocations: 207.7 kB / 1.358 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/1.394, allocations: 321 kB / 1.358 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-05/1.394, allocations: 65.5 kB / 1.358 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.534e-05/1.394, allocations: 11.72 kB / 1.358 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000487/1.394, allocations: 364.5 kB / 1.358 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000383/1.395, allocations: 275.8 kB / 1.359 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/1.395, allocations: 3.844 kB / 1.359 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.37e-05/1.395, allocations: 3.938 kB / 1.359 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/1.395, allocations: 0 / 1.359 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/1.397, allocations: 0.8792 MB / 1.359 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/1.397, allocations: 204.2 kB / 1.36 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/1.397, allocations: 189.3 kB / 1.36 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/1.397, allocations: 0 / 1.36 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/1.397, allocations: 30.56 kB / 1.36 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/1.397, allocations: 3.875 kB / 1.36 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0008717/1.398, allocations: 379.8 kB / 1.36 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/1.398, allocations: 55.41 kB / 1.36 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/1.398, allocations: 251.3 kB / 1.36 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/1.398, allocations: 25.7 kB / 1.36 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/1.399, allocations: 146.5 kB / 1.361 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/1.399, allocations: 24.27 kB / 1.361 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.931e-05/1.399, allocations: 0 / 1.361 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001752/1.399, allocations: 339.4 kB / 1.361 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/1.399, allocations: 161.1 kB / 1.361 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/1.399, allocations: 170.7 kB / 1.361 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/1.4, allocations: 140.6 kB / 1.361 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.4, allocations: 0 / 1.361 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006636/1.4, allocations: 387.8 kB / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/1.4, allocations: 7.656 kB / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/1.4, allocations: 0 / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/1.4, allocations: 0 / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/1.401, allocations: 61.22 kB / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/1.401, allocations: 4 kB / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/1.401, allocations: 38.77 kB / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.976e-05/1.401, allocations: 22.98 kB / 1.362 GB, free: 31.64 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: 1 (norQSta.canFreeze) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.743e-05/1.401, allocations: 108.9 kB / 1.362 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007092/1.402, allocations: 382.5 kB / 1.362 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.561e-05/1.402, allocations: 19.41 kB / 1.362 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.448e-05/1.402, allocations: 33.52 kB / 1.362 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/1.402, allocations: 0 / 1.362 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/1.402, allocations: 0 / 1.362 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/1.402, allocations: 0 / 1.362 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003962/1.402, allocations: 401.5 kB / 1.363 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.402, allocations: 0 / 1.363 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003256/1.403, allocations: 65.94 kB / 1.363 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/1.403, allocations: 0 / 1.363 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/1.403, allocations: 17.67 kB / 1.363 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/1.403, allocations: 0 / 1.363 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.403, allocations: 0 / 1.363 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007184/1.404, allocations: 475.4 kB / 1.363 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.252e-05/1.404, allocations: 100 kB / 1.363 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/1.404, allocations: 0 / 1.363 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003006/1.404, allocations: 42.48 kB / 1.363 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/1.404, allocations: 10.34 kB / 1.363 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/1.404, allocations: 25.28 kB / 1.364 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001835/1.404, allocations: 197 kB / 1.364 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.404, allocations: 0 / 1.364 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002939/1.405, allocations: 44.3 kB / 1.364 GB, free: 30.93 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: 1 (norQSta.canFreeze) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.001068/1.406, allocations: 1.064 MB / 1.365 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004309/1.406, allocations: 417.7 kB / 1.365 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.406, allocations: 0 / 1.365 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001875/1.406, allocations: 211.6 kB / 1.365 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/1.406, allocations: 17.42 kB / 1.365 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007857/1.407, allocations: 494.7 kB / 1.366 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/1.408, allocations: 0.7559 MB / 1.367 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002135/1.408, allocations: 65.58 kB / 1.367 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/1.408, allocations: 78.47 kB / 1.367 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of SimCode: time 6.72e-07/1.408, allocations: 4 kB / 1.367 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02279/1.431, allocations: 3.958 MB / 1.371 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/1.431, allocations: 166.3 kB / 1.371 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/3.185, allocations: 2.391 kB / 1.371 GB, free: 28.9 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.fmu > Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat does not exist to compare? outputFormat=mat