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.413/2.413, allocations: 390.3 MB / 405.3 MB, free: 13.35 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.001255/0.001255, allocations: 185 kB / 498.1 MB, free: 5.59 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.546/1.546, allocations: 223.1 MB / 0.7948 GB, free: 17.94 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001083, allocations: 100.3 kB / 0.9346 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003477, allocations: 10.44 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2905, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2102/0.5007, allocations: 152 MB / 1.371 GB, free: 9.965 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/0.5011, allocations: 95.88 kB / 1.371 GB, free: 9.871 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01042/0.5115, allocations: 3.058 MB / 1.374 GB, free: 6.801 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.294e-06/0.5116, allocations: 4 kB / 1.374 GB, free: 6.797 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.86e-05/0.5116, allocations: 4 kB / 1.374 GB, free: 6.793 MB / 0.8698 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.0007898/0.5124, allocations: 0.5101 MB / 1.375 GB, free: 6.23 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.5124, allocations: 8.031 kB / 1.375 GB, free: 6.223 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.672e-05/0.5125, allocations: 42.56 kB / 1.375 GB, free: 6.172 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.514, allocations: 219.3 kB / 1.375 GB, free: 5.957 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005018/0.5145, allocations: 310.5 kB / 1.376 GB, free: 5.613 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.5146, allocations: 75.61 kB / 1.376 GB, free: 5.527 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/0.5147, allocations: 15.94 kB / 1.376 GB, free: 5.512 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008506/0.5156, allocations: 354 kB / 1.376 GB, free: 5.164 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.5156, allocations: 4 kB / 1.376 GB, free: 5.16 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.5156, allocations: 4 kB / 1.376 GB, free: 5.156 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.5156, allocations: 4 kB / 1.376 GB, free: 5.152 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.5168, allocations: 492.2 kB / 1.376 GB, free: 4.672 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001849/0.5187, allocations: 0.9363 MB / 1.377 GB, free: 3.68 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006522/0.5194, allocations: 262.3 kB / 1.378 GB, free: 3.414 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.5194, allocations: 0 / 1.378 GB, free: 3.414 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.5194, allocations: 38.56 kB / 1.378 GB, free: 3.367 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.5194, allocations: 0 / 1.378 GB, free: 3.367 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.001943/0.5214, allocations: 0.7001 MB / 1.378 GB, free: 2.66 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.5215, allocations: 51.41 kB / 1.378 GB, free: 2.598 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003293/0.5218, allocations: 265.8 kB / 1.379 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.5218, allocations: 25.7 kB / 1.379 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.522, allocations: 160.1 kB / 1.379 GB, free: 2.129 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.522, allocations: 19.7 kB / 1.379 GB, free: 2.109 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.635e-05/0.522, allocations: 0 / 1.379 GB, free: 2.109 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.5222, allocations: 338.8 kB / 1.379 GB, free: 1.77 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005818/0.5228, allocations: 219.8 kB / 1.379 GB, free: 1.555 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00056/0.5233, allocations: 231.8 kB / 1.38 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005097/0.5239, allocations: 175.8 kB / 1.38 GB, free: 1.156 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.5239, allocations: 4 kB / 1.38 GB, free: 1.152 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001247/0.5251, allocations: 489 kB / 1.38 GB, free: 0.668 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.5252, allocations: 4 kB / 1.38 GB, free: 0.6641 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.5252, allocations: 0 / 1.38 GB, free: 0.6641 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.5252, allocations: 0 / 1.38 GB, free: 0.6641 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003948/0.5256, allocations: 67.84 kB / 1.38 GB, free: 0.5977 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.5256, allocations: 7.891 kB / 1.38 GB, free: 0.5898 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.5259, allocations: 43.89 kB / 1.38 GB, free: 0.5469 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-05/0.526, allocations: 27.97 kB / 1.38 GB, free: 0.5195 MB / 0.8698 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 () * Number of clocked 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 0.0001839/0.5262, allocations: 137.8 kB / 1.38 GB, free: 384 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-05/0.5263, allocations: 23.66 kB / 1.381 GB, free: 360 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.623e-05/0.5263, allocations: 25.7 kB / 1.381 GB, free: 336 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.5263, allocations: 0 / 1.381 GB, free: 336 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5263, allocations: 4 kB / 1.381 GB, free: 332 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.5264, allocations: 7.953 kB / 1.381 GB, free: 324 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005286/0.5269, allocations: 420.3 kB / 1.381 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5269, allocations: 0 / 1.381 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000348/0.5273, allocations: 63.91 kB / 1.381 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.5273, allocations: 0 / 1.381 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.5273, allocations: 7.984 kB / 1.381 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5273, allocations: 0 / 1.381 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.5273, allocations: 4 kB / 1.381 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.5286, allocations: 0.5808 MB / 1.382 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.971e-05/0.5287, allocations: 96.91 kB / 1.382 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.934e-05/0.5288, allocations: 4 kB / 1.382 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/0.5291, allocations: 39.95 kB / 1.382 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.5291, allocations: 0 / 1.382 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.808e-05/0.5292, allocations: 27.97 kB / 1.382 GB, free: 15 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000261/0.5294, allocations: 217.9 kB / 1.382 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5295, allocations: 0 / 1.382 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003275/0.5298, allocations: 51.8 kB / 1.382 GB, free: 14.74 MB / 0.8855 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 () * Number of clocked 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.001555/0.5314, allocations: 1.144 MB / 1.383 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001147/0.5325, allocations: 0.4958 MB / 1.384 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5325, allocations: 0 / 1.384 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005674/0.5331, allocations: 275.9 kB / 1.384 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.5333, allocations: 13.88 kB / 1.384 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004351/0.5377, allocations: 2.39 MB / 1.386 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.5381, allocations: 0.7516 MB / 1.387 GB, free: 9.574 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002415/0.5384, allocations: 73.42 kB / 1.387 GB, free: 9.504 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.5385, allocations: 79.38 kB / 1.387 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of SimCode: time 7.91e-07/0.5385, allocations: 0 / 1.387 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01941/0.558, allocations: 4.626 MB / 1.392 GB, free: 4.977 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000216/0.5582, allocations: 202.6 kB / 1.392 GB, free: 4.734 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/2.298, allocations: 0 / 1.392 GB, free: 4.734 MB / 0.8855 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