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.159/2.159, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001347/0.001347, allocations: 172.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.0009452/0.0009452, allocations: 95.89 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.244e-05/3.246e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2787, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8362/1.115, allocations: 152.8 MB / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/1.115, allocations: 93 kB / 1.368 GB, free: 1.219 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008504/1.124, allocations: 3.044 MB / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.884e-06/1.124, allocations: 0 / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.42e-05/1.124, allocations: 4 kB / 1.371 GB, free: 14.56 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.0005789/1.124, allocations: 490.1 kB / 1.372 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/1.124, allocations: 8.031 kB / 1.372 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.532e-05/1.124, allocations: 45.36 kB / 1.372 GB, free: 14 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/1.126, allocations: 215.3 kB / 1.372 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004252/1.126, allocations: 312.4 kB / 1.372 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.805e-05/1.126, allocations: 77.81 kB / 1.372 GB, free: 13.39 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.609e-05/1.127, allocations: 15.06 kB / 1.372 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004522/1.127, allocations: 294.4 kB / 1.373 GB, free: 13.17 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/1.127, allocations: 0.875 kB / 1.373 GB, free: 13.17 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/1.127, allocations: 3.312 kB / 1.373 GB, free: 13.17 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/1.127, allocations: 4 kB / 1.373 GB, free: 13.17 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005187/1.128, allocations: 369.8 kB / 1.373 GB, free: 12.94 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/1.129, allocations: 0.9262 MB / 1.374 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/1.129, allocations: 198.2 kB / 1.374 GB, free: 12 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002546/1.13, allocations: 184.1 kB / 1.374 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/1.13, allocations: 3.5 kB / 1.374 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/1.13, allocations: 30.56 kB / 1.374 GB, free: 11.84 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/1.13, allocations: 0 / 1.374 GB, free: 11.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0006077/1.13, allocations: 383.7 kB / 1.375 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/1.13, allocations: 51.41 kB / 1.375 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/1.131, allocations: 265.6 kB / 1.375 GB, free: 11.28 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/1.131, allocations: 25.7 kB / 1.375 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/1.131, allocations: 152.2 kB / 1.375 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/1.131, allocations: 23.16 kB / 1.375 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.717e-05/1.131, allocations: 0 / 1.375 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.131, allocations: 334.5 kB / 1.375 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/1.131, allocations: 164.6 kB / 1.375 GB, free: 10.68 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/1.132, allocations: 172.2 kB / 1.376 GB, free: 10.57 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/1.132, allocations: 127.6 kB / 1.376 GB, free: 10.49 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/1.132, allocations: 0 / 1.376 GB, free: 10.49 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005155/1.132, allocations: 376.5 kB / 1.376 GB, free: 10.22 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/1.132, allocations: 4 kB / 1.376 GB, free: 10.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/1.132, allocations: 0 / 1.376 GB, free: 10.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/1.132, allocations: 4 kB / 1.376 GB, free: 10.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003803/1.133, allocations: 67.66 kB / 1.376 GB, free: 10.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/1.133, allocations: 3.953 kB / 1.376 GB, free: 10.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/1.133, allocations: 35.95 kB / 1.376 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.101e-05/1.133, allocations: 23.67 kB / 1.376 GB, free: 10.09 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 0.0001032/1.133, allocations: 105 kB / 1.376 GB, free: 9.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.425e-05/1.133, allocations: 23.72 kB / 1.376 GB, free: 9.957 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.631e-05/1.133, allocations: 29.08 kB / 1.376 GB, free: 9.938 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/1.133, allocations: 0 / 1.376 GB, free: 9.938 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/1.133, allocations: 0 / 1.376 GB, free: 9.938 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/1.133, allocations: 3.953 kB / 1.376 GB, free: 9.934 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004602/1.134, allocations: 435 kB / 1.377 GB, free: 9.543 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.134, allocations: 7.938 kB / 1.377 GB, free: 9.535 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003368/1.134, allocations: 63.84 kB / 1.377 GB, free: 9.473 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/1.134, allocations: 0 / 1.377 GB, free: 9.473 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/1.134, allocations: 15.98 kB / 1.377 GB, free: 9.457 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/1.134, allocations: 0 / 1.377 GB, free: 9.457 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/1.134, allocations: 0 / 1.377 GB, free: 9.457 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00055/1.135, allocations: 470 kB / 1.377 GB, free: 9.09 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.865e-05/1.135, allocations: 96.91 kB / 1.377 GB, free: 8.977 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/1.135, allocations: 0 / 1.377 GB, free: 8.977 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/1.135, allocations: 39.95 kB / 1.378 GB, free: 8.938 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/1.135, allocations: 11.3 kB / 1.378 GB, free: 8.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.775e-05/1.135, allocations: 23.48 kB / 1.378 GB, free: 8.91 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001944/1.135, allocations: 219.3 kB / 1.378 GB, free: 8.73 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.135, allocations: 0 / 1.378 GB, free: 8.73 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002643/1.136, allocations: 47.91 kB / 1.378 GB, free: 8.684 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.0008608/1.137, allocations: 1.05 MB / 1.379 GB, free: 7.715 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004914/1.137, allocations: 417.8 kB / 1.379 GB, free: 7.426 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/1.137, allocations: 3.938 kB / 1.379 GB, free: 7.422 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000231/1.137, allocations: 215.6 kB / 1.379 GB, free: 7.273 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/1.138, allocations: 12.56 kB / 1.379 GB, free: 7.27 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008419/1.138, allocations: 498.2 kB / 1.38 GB, free: 6.828 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/1.139, allocations: 0.7549 MB / 1.381 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002175/1.139, allocations: 65.2 kB / 1.381 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/1.139, allocations: 88.12 kB / 1.381 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.139, allocations: 0 / 1.381 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01599/1.155, allocations: 4.594 MB / 1.385 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/1.155, allocations: 185 kB / 1.385 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/2.855, allocations: 0 / 1.385 GB, free: 1.316 MB / 0.8386 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