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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.357/2.357, allocations: 390.4 MB / 0.6655 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003355, allocations: 8 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6402/0.6405, allocations: 142.3 MB / 0.9539 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002011/0.6426, allocations: 1.649 MB / 0.9555 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009104/0.6435, allocations: 0.6294 MB / 0.9561 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.533e-05/0.6436, allocations: 3.156 kB / 0.9561 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.6438, allocations: 15.86 kB / 0.9561 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.374e-05/0.6438, allocations: 20.12 kB / 0.9561 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.6441, allocations: 62.39 kB / 0.9562 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000145/0.6442, allocations: 129.5 kB / 0.9563 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.6444, allocations: 63.48 kB / 0.9564 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.567e-05/0.6445, allocations: 50.14 kB / 0.9564 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.6446, allocations: 47.25 kB / 0.9565 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.6446, allocations: 4.25 kB / 0.9565 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.6448, allocations: 48.2 kB / 0.9565 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.97e-05/0.6449, allocations: 66.61 kB / 0.9566 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.064e-05/0.6449, allocations: 57.11 kB / 0.9566 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.6451, allocations: 194.2 kB / 0.9568 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6451, allocations: 3.938 kB / 0.9568 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.874e-06/0.6451, allocations: 0.9688 kB / 0.9568 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.6451, allocations: 0 / 0.9568 GB, free: 5.777 MB / 0.7169 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.000643/0.6458, allocations: 0.5052 MB / 0.9573 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.6458, allocations: 10.28 kB / 0.9573 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.507e-05/0.6459, allocations: 46.67 kB / 0.9574 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/0.6474, allocations: 432.8 kB / 0.9578 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.6477, allocations: 298.4 kB / 0.9581 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.275e-05/0.6478, allocations: 77.08 kB / 0.9581 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.6478, allocations: 10.44 kB / 0.9581 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007091/0.6485, allocations: 381.9 kB / 0.9585 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.6485, allocations: 0 / 0.9585 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.6485, allocations: 5.375 kB / 0.9585 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.6486, allocations: 6.703 kB / 0.9585 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.6497, allocations: 0.5547 MB / 0.9591 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.6512, allocations: 0.9995 MB / 0.96 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006201/0.6519, allocations: 301.5 kB / 0.9603 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000574/0.6525, allocations: 281.9 kB / 0.9606 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.6525, allocations: 0.9688 kB / 0.9606 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.6525, allocations: 35.52 kB / 0.9606 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.6525, allocations: 1.156 kB / 0.9606 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.001682/0.6542, allocations: 0.7984 MB / 0.9614 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.6542, allocations: 60.83 kB / 0.9615 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.6545, allocations: 293.2 kB / 0.9618 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.6545, allocations: 26.73 kB / 0.9618 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.068e-05/0.6546, allocations: 157.6 kB / 0.9619 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.6547, allocations: 26.42 kB / 0.962 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.188e-05/0.6547, allocations: 4 kB / 0.962 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.777e-05/0.6548, allocations: 328.9 kB / 0.9623 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005416/0.6553, allocations: 268.9 kB / 0.9625 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005445/0.6559, allocations: 267.9 kB / 0.9628 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004524/0.6563, allocations: 220.6 kB / 0.963 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6563, allocations: 0 / 0.963 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00114/0.6575, allocations: 0.5438 MB / 0.9635 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.6575, allocations: 8.953 kB / 0.9635 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.6575, allocations: 0 / 0.9635 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.6575, allocations: 1.25 kB / 0.9635 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/0.6579, allocations: 98.83 kB / 0.9636 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.6579, allocations: 1.344 kB / 0.9636 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.6582, allocations: 86.52 kB / 0.9637 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.431e-05/0.6582, allocations: 7.922 kB / 0.9637 GB, free: 1.309 MB / 0.7169 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 (not1.y) * 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.0001127/0.6584, allocations: 141.2 kB / 0.9639 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.917e-05/0.6584, allocations: 28.73 kB / 0.9639 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.192e-05/0.6585, allocations: 29.38 kB / 0.9639 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.6585, allocations: 1.156 kB / 0.9639 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6585, allocations: 0 / 0.9639 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.6585, allocations: 1.125 kB / 0.9639 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004343/0.6589, allocations: 428.3 kB / 0.9643 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.6589, allocations: 0 / 0.9643 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003458/0.6593, allocations: 95.08 kB / 0.9644 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.6593, allocations: 1.031 kB / 0.9644 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.6593, allocations: 14.41 kB / 0.9644 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6593, allocations: 0.8438 kB / 0.9644 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6593, allocations: 1.031 kB / 0.9644 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.6605, allocations: 0.6362 MB / 0.965 GB, free: 384 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.454e-05/0.6606, allocations: 105.2 kB / 0.9651 GB, free: 268 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.6606, allocations: 0.9688 kB / 0.9651 GB, free: 268 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003148/0.661, allocations: 78.72 kB / 0.9652 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.661, allocations: 14.98 kB / 0.9652 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.6611, allocations: 7.078 kB / 0.9652 GB, free: 212 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001925/0.6613, allocations: 217.5 kB / 0.9655 GB, free: 68 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6613, allocations: 0 / 0.9655 GB, free: 68 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003144/0.6616, allocations: 36.38 kB / 0.9655 GB, free: 64 kB / 0.7169 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 (not1.y) * 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.001861/0.6634, allocations: 1.194 MB / 0.9667 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001219/0.6647, allocations: 0.5277 MB / 0.9672 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6647, allocations: 0 / 0.9672 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005965/0.6653, allocations: 289.7 kB / 0.9674 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.6656, allocations: 20.02 kB / 0.9675 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004637/0.6702, allocations: 2.505 MB / 0.9699 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.6706, allocations: 0.7486 MB / 0.9706 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002651/0.6709, allocations: 59.86 kB / 0.9707 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.6711, allocations: 83.22 kB / 0.9708 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of SimCode: time 9.72e-07/0.6711, allocations: 0 / 0.9708 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01548/0.6866, allocations: 4.814 MB / 0.9755 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/0.6868, allocations: 208.4 kB / 0.9757 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/2.524, allocations: 4 kB / 0.9757 GB, free: 9.52 MB / 0.7325 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