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.0009368/0.0009368, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009177/0.0009177, allocations: 177.3 kB / 15.94 MB, free: 228 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.338/1.338, allocations: 223.2 MB / 239.9 MB, free: 5.324 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.363/2.363, allocations: 390.3 MB / 0.6653 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003643, allocations: 12 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6497/0.6501, allocations: 142.3 MB / 0.9536 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.001728/0.6518, allocations: 1.637 MB / 0.9552 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008894/0.6527, allocations: 0.6382 MB / 0.9558 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.83e-05/0.6528, allocations: 6.75 kB / 0.9558 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.958e-05/0.6529, allocations: 7.922 kB / 0.9558 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.653, allocations: 28.89 kB / 0.9559 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.6533, allocations: 72.83 kB / 0.9559 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.6534, allocations: 89.98 kB / 0.956 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.6536, allocations: 52.25 kB / 0.9561 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.58e-05/0.6537, allocations: 54.61 kB / 0.9561 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.316e-05/0.6538, allocations: 51.86 kB / 0.9562 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.6538, allocations: 2.781 kB / 0.9562 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.6539, allocations: 42.67 kB / 0.9562 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.273e-05/0.654, allocations: 59.88 kB / 0.9563 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.654, allocations: 57.05 kB / 0.9563 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.6542, allocations: 189.3 kB / 0.9565 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.6542, allocations: 0 / 0.9565 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6542, allocations: 4.781 kB / 0.9565 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.6542, allocations: 0 / 0.9565 GB, free: 5.809 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.0005977/0.6548, allocations: 0.5096 MB / 0.957 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.6549, allocations: 8.875 kB / 0.957 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.903e-05/0.6549, allocations: 50.89 kB / 0.9571 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001607/0.6565, allocations: 436.3 kB / 0.9575 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.6569, allocations: 299.9 kB / 0.9578 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.674e-05/0.657, allocations: 71.64 kB / 0.9578 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.657, allocations: 11.28 kB / 0.9579 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007462/0.6578, allocations: 380.5 kB / 0.9582 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.6578, allocations: 0 / 0.9582 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.6578, allocations: 9.688 kB / 0.9582 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.6578, allocations: 7.078 kB / 0.9582 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.6589, allocations: 0.5516 MB / 0.9588 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.6604, allocations: 0.9982 MB / 0.9597 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000632/0.6611, allocations: 297.5 kB / 0.96 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.6611, allocations: 4.719 kB / 0.96 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/0.6611, allocations: 35.52 kB / 0.9601 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.6611, allocations: 1 kB / 0.9601 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.001802/0.663, allocations: 0.8014 MB / 0.9608 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.952e-05/0.663, allocations: 56.44 kB / 0.9609 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002619/0.6633, allocations: 294.2 kB / 0.9612 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.6633, allocations: 26.55 kB / 0.9612 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.205e-05/0.6634, allocations: 153.8 kB / 0.9614 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.6634, allocations: 26.27 kB / 0.9614 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-05/0.6634, allocations: 0 / 0.9614 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.328e-05/0.6635, allocations: 332.8 kB / 0.9617 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005625/0.664, allocations: 264.3 kB / 0.9619 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000533/0.6646, allocations: 260.2 kB / 0.9622 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004999/0.6651, allocations: 224 kB / 0.9624 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6651, allocations: 5.5 kB / 0.9624 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001153/0.6663, allocations: 0.5473 MB / 0.963 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.6663, allocations: 4.75 kB / 0.963 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.6663, allocations: 3.953 kB / 0.963 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.6663, allocations: 0.875 kB / 0.963 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003859/0.6667, allocations: 95.27 kB / 0.9631 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.6667, allocations: 5 kB / 0.9631 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002958/0.667, allocations: 78.48 kB / 0.9631 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.6671, allocations: 7.828 kB / 0.9631 GB, free: 1.473 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.0001119/0.6672, allocations: 142.1 kB / 0.9633 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/0.6672, allocations: 20.09 kB / 0.9633 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.787e-05/0.6673, allocations: 25.64 kB / 0.9633 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.6673, allocations: 5.266 kB / 0.9633 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.6673, allocations: 1.281 kB / 0.9633 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.6673, allocations: 3.984 kB / 0.9633 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003865/0.6677, allocations: 431.6 kB / 0.9637 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.6677, allocations: 9.266 kB / 0.9637 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003593/0.6681, allocations: 99.38 kB / 0.9638 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.6681, allocations: 3.984 kB / 0.9638 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.6681, allocations: 6.859 kB / 0.9639 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.6681, allocations: 8.984 kB / 0.9639 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6681, allocations: 0 / 0.9639 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.6693, allocations: 0.6374 MB / 0.9645 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.6694, allocations: 101.3 kB / 0.9646 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.6694, allocations: 0.9688 kB / 0.9646 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003434/0.6698, allocations: 81.73 kB / 0.9647 GB, free: 380 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.6698, allocations: 7.328 kB / 0.9647 GB, free: 376 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.6699, allocations: 11.97 kB / 0.9647 GB, free: 368 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00018/0.6701, allocations: 213.2 kB / 0.9649 GB, free: 228 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6701, allocations: 3.938 kB / 0.9649 GB, free: 224 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003141/0.6704, allocations: 40.41 kB / 0.9649 GB, free: 216 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.001676/0.6721, allocations: 1.186 MB / 0.9661 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001293/0.6734, allocations: 0.5393 MB / 0.9666 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.6734, allocations: 1 kB / 0.9666 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006166/0.674, allocations: 276.9 kB / 0.9669 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.6742, allocations: 18.08 kB / 0.9669 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004503/0.6787, allocations: 2.483 MB / 0.9693 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/0.6792, allocations: 0.7649 MB / 0.9701 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003285/0.6796, allocations: 52.33 kB / 0.9701 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002447/0.6798, allocations: 79.22 kB / 0.9702 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of SimCode: time 7.01e-07/0.6798, allocations: 0 / 0.9702 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.7006, allocations: 4.797 MB / 0.9749 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002642/0.7009, allocations: 202 kB / 0.9751 GB, free: 9.875 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/2.379, allocations: 1.406 kB / 0.9751 GB, free: 9.875 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