Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.315/2.315, allocations: 393.5 MB / 408.4 MB, free: 10.95 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.001478/0.001478, allocations: 183.9 kB / 0.4901 GB, free: 2.207 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.56/1.56, allocations: 223.1 MB / 0.7992 GB, free: 15.65 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.001125/0.001125, allocations: 98.92 kB / 0.9396 GB, free: 2.801 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003541, allocations: 14.89 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2855, allocations: 143 MB / 1.229 GB, free: 85.34 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.193/0.4784, allocations: 152.8 MB / 1.379 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.4787, allocations: 91.94 kB / 1.379 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.008956/0.4877, allocations: 3.06 MB / 1.382 GB, free: 9.141 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4877, allocations: 0 / 1.382 GB, free: 9.141 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.807e-05/0.4878, allocations: 7.984 kB / 1.382 GB, free: 9.133 MB / 0.8855 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.0007208/0.4885, allocations: 0.5101 MB / 1.382 GB, free: 8.57 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.4885, allocations: 12.03 kB / 1.382 GB, free: 8.559 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.362e-05/0.4886, allocations: 46.55 kB / 1.382 GB, free: 8.504 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001462/0.4901, allocations: 215.3 kB / 1.382 GB, free: 8.293 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004333/0.4905, allocations: 310.5 kB / 1.383 GB, free: 7.949 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.541e-05/0.4906, allocations: 67.62 kB / 1.383 GB, free: 7.871 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.4907, allocations: 12 kB / 1.383 GB, free: 7.859 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008108/0.4915, allocations: 359.2 kB / 1.383 GB, free: 7.504 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.4915, allocations: 0 / 1.383 GB, free: 7.504 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.737e-05/0.4916, allocations: 4 kB / 1.383 GB, free: 7.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.4916, allocations: 11.88 kB / 1.383 GB, free: 7.488 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.4928, allocations: 484.3 kB / 1.384 GB, free: 7.016 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.4945, allocations: 0.9322 MB / 1.384 GB, free: 6.023 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006885/0.4952, allocations: 262.3 kB / 1.385 GB, free: 5.758 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.4953, allocations: 4 kB / 1.385 GB, free: 5.754 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.4953, allocations: 34.56 kB / 1.385 GB, free: 5.711 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.4953, allocations: 0 / 1.385 GB, free: 5.711 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.001891/0.4972, allocations: 0.7002 MB / 1.385 GB, free: 5.004 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.4973, allocations: 51.41 kB / 1.385 GB, free: 4.941 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.4976, allocations: 277.7 kB / 1.386 GB, free: 4.668 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.4976, allocations: 25.7 kB / 1.386 GB, free: 4.637 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.4977, allocations: 156.1 kB / 1.386 GB, free: 4.477 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.4978, allocations: 19.66 kB / 1.386 GB, free: 4.457 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-05/0.4978, allocations: 4 kB / 1.386 GB, free: 4.453 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.4979, allocations: 334.8 kB / 1.386 GB, free: 4.117 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005719/0.4985, allocations: 223.8 kB / 1.386 GB, free: 3.898 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005644/0.4991, allocations: 227.8 kB / 1.387 GB, free: 3.676 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005691/0.4996, allocations: 179.8 kB / 1.387 GB, free: 3.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4997, allocations: 0 / 1.387 GB, free: 3.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001232/0.5009, allocations: 489 kB / 1.387 GB, free: 3.016 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.5009, allocations: 8 kB / 1.387 GB, free: 3.008 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.5009, allocations: 3.984 kB / 1.387 GB, free: 3.004 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.501, allocations: 0 / 1.387 GB, free: 3.004 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003794/0.5014, allocations: 63.86 kB / 1.387 GB, free: 2.941 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.5014, allocations: 7.938 kB / 1.387 GB, free: 2.934 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002817/0.5017, allocations: 31.97 kB / 1.387 GB, free: 2.902 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.573e-05/0.5017, allocations: 27.97 kB / 1.387 GB, free: 2.875 MB / 0.8855 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.0001523/0.5019, allocations: 143.5 kB / 1.388 GB, free: 2.727 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.434e-05/0.5019, allocations: 15.81 kB / 1.388 GB, free: 2.711 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.524e-05/0.502, allocations: 25.72 kB / 1.388 GB, free: 2.688 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.502, allocations: 4 kB / 1.388 GB, free: 2.684 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.502, allocations: 3.984 kB / 1.388 GB, free: 2.68 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.502, allocations: 3.953 kB / 1.388 GB, free: 2.676 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/0.5025, allocations: 420.2 kB / 1.388 GB, free: 2.215 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5025, allocations: 7.938 kB / 1.388 GB, free: 2.207 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003567/0.5029, allocations: 59.91 kB / 1.388 GB, free: 2.148 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.5029, allocations: 4 kB / 1.388 GB, free: 2.145 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.5029, allocations: 7.984 kB / 1.388 GB, free: 2.137 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.5029, allocations: 4 kB / 1.388 GB, free: 2.133 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.5029, allocations: 0 / 1.388 GB, free: 2.133 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.5042, allocations: 0.5731 MB / 1.389 GB, free: 1.543 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.61e-05/0.5043, allocations: 104.8 kB / 1.389 GB, free: 1.422 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.5044, allocations: 7.938 kB / 1.389 GB, free: 1.414 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003187/0.5047, allocations: 39.95 kB / 1.389 GB, free: 1.375 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.5047, allocations: 7.984 kB / 1.389 GB, free: 1.367 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.104e-05/0.5048, allocations: 23.98 kB / 1.389 GB, free: 1.344 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002146/0.505, allocations: 213.9 kB / 1.389 GB, free: 1.133 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.71e-07/0.505, allocations: 0 / 1.389 GB, free: 1.133 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003059/0.5053, allocations: 51.8 kB / 1.389 GB, free: 1.082 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.001589/0.5069, allocations: 1.134 MB / 1.39 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001158/0.5081, allocations: 0.5042 MB / 1.391 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5081, allocations: 0 / 1.391 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005546/0.5087, allocations: 263.8 kB / 1.391 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.5089, allocations: 16.55 kB / 1.391 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004181/0.5131, allocations: 2.395 MB / 1.393 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.5134, allocations: 0.7516 MB / 1.394 GB, free: 11.92 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002292/0.5137, allocations: 73.41 kB / 1.394 GB, free: 11.85 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.5138, allocations: 83.38 kB / 1.394 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of SimCode: time 3.11e-07/0.5139, allocations: 0 / 1.394 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/0.5319, allocations: 4.64 MB / 1.399 GB, free: 7.305 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/0.5321, allocations: 203.3 kB / 1.399 GB, free: 7.066 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/2.288, allocations: 4 kB / 1.399 GB, free: 7.062 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat does not exist to compare? outputFormat=mat