Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",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.001124/0.001124, allocations: 100.1 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.001103/0.001103, allocations: 177.3 kB / 15.95 MB, free: 216 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.391/1.391, allocations: 223.2 MB / 239.9 MB, free: 5.449 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.453/2.453, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.000366, allocations: 23.92 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7706/0.771, allocations: 142.3 MB / 0.9536 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1704/0.9415, allocations: 135.5 MB / 1.086 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005096/0.9466, allocations: 3.682 MB / 1.09 GB, free: 4.641 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002674/0.947, allocations: 7.938 kB / 1.09 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000616/0.9476, allocations: 159.2 kB / 1.09 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0008577/0.9485, allocations: 295.1 kB / 1.09 GB, free: 4.188 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.9495, allocations: 345.5 kB / 1.09 GB, free: 3.855 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004789/0.95, allocations: 331.8 kB / 1.091 GB, free: 3.527 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003277/0.9503, allocations: 165.2 kB / 1.091 GB, free: 3.367 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000729/0.951, allocations: 295.2 kB / 1.091 GB, free: 3.078 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.9513, allocations: 135.5 kB / 1.091 GB, free: 2.945 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.793e-05/0.9513, allocations: 8 kB / 1.091 GB, free: 2.938 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.9515, allocations: 63.94 kB / 1.091 GB, free: 2.875 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.567e-05/0.9516, allocations: 71.8 kB / 1.091 GB, free: 2.805 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.071e-05/0.9517, allocations: 73.58 kB / 1.091 GB, free: 2.727 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.952, allocations: 211.5 kB / 1.092 GB, free: 2.52 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.952, allocations: 0 / 1.092 GB, free: 2.52 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.214e-06/0.952, allocations: 0 / 1.092 GB, free: 2.52 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.952, allocations: 0 / 1.092 GB, free: 2.52 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008829/0.9529, allocations: 0.4944 MB / 1.092 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.953, allocations: 12.03 kB / 1.092 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.659e-05/0.953, allocations: 54.53 kB / 1.092 GB, free: 1.902 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.571e-05/0.9531, allocations: 27.67 kB / 1.092 GB, free: 1.875 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004107/0.9535, allocations: 263.5 kB / 1.092 GB, free: 1.578 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.9535, allocations: 16 kB / 1.092 GB, free: 1.562 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.481e-05/0.9536, allocations: 23.89 kB / 1.092 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004698/0.9541, allocations: 269.6 kB / 1.093 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.9541, allocations: 0 / 1.093 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.9541, allocations: 12 kB / 1.093 GB, free: 1.227 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.9541, allocations: 4 kB / 1.093 GB, free: 1.223 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003581/0.9545, allocations: 160.5 kB / 1.093 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.956, allocations: 1.375 MB / 1.094 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/0.9563, allocations: 187.7 kB / 1.094 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003598/0.9567, allocations: 129 kB / 1.095 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.9567, allocations: 50.56 kB / 1.095 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.9567, allocations: 0 / 1.095 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0006221/0.9573, allocations: 225.6 kB / 1.095 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.9575, allocations: 187.9 kB / 1.095 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.9578, allocations: 287 kB / 1.095 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.9578, allocations: 25.7 kB / 1.095 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.9579, allocations: 148.1 kB / 1.095 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.958, allocations: 35.45 kB / 1.095 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-06/0.958, allocations: 4 kB / 1.095 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.9581, allocations: 334.8 kB / 1.096 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.9583, allocations: 51.95 kB / 1.096 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.9585, allocations: 123.6 kB / 1.096 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.9586, allocations: 71.84 kB / 1.096 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.9587, allocations: 0 / 1.096 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003893/0.959, allocations: 209.2 kB / 1.096 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.9591, allocations: 4 kB / 1.096 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.9591, allocations: 4 kB / 1.096 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.9591, allocations: 4 kB / 1.096 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.9593, allocations: 31.97 kB / 1.096 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.9593, allocations: 4 kB / 1.096 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.9595, allocations: 39.8 kB / 1.096 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.9595, allocations: 8 kB / 1.096 GB, free: 13.29 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001428/0.9597, allocations: 137.8 kB / 1.096 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.9598, allocations: 31.67 kB / 1.096 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003751/0.9602, allocations: 146.9 kB / 1.097 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.9602, allocations: 0 / 1.097 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.9602, allocations: 4 kB / 1.097 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.9602, allocations: 0 / 1.097 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008817/0.9611, allocations: 0.7734 MB / 1.097 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.9611, allocations: 0 / 1.097 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.9612, allocations: 35.91 kB / 1.097 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.9612, allocations: 4 kB / 1.097 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.9613, allocations: 0 / 1.097 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.9613, allocations: 4 kB / 1.097 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.9613, allocations: 0 / 1.097 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005735/0.9619, allocations: 420 kB / 1.098 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.615e-05/0.962, allocations: 108.9 kB / 1.098 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.962, allocations: 8 kB / 1.098 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.9622, allocations: 15.98 kB / 1.098 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.9622, allocations: 11.92 kB / 1.098 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.9622, allocations: 8 kB / 1.098 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002012/0.9624, allocations: 205.9 kB / 1.098 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9624, allocations: 0 / 1.098 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003539/0.9628, allocations: 63.94 kB / 1.098 GB, free: 11.16 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001229/0.964, allocations: 1.323 MB / 1.099 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003369/0.9644, allocations: 132 kB / 1.1 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.9644, allocations: 0 / 1.1 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.9646, allocations: 67.83 kB / 1.1 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000681/0.9652, allocations: 125.5 kB / 1.1 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/0.968, allocations: 2.511 MB / 1.102 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/0.9684, allocations: 0.7677 MB / 1.103 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001807/0.9686, allocations: 46.25 kB / 1.103 GB, free: 6.023 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.9687, allocations: 75.41 kB / 1.103 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of SimCode: time 8.42e-07/0.9687, allocations: 0 / 1.103 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0182/0.9869, allocations: 6.301 MB / 1.109 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/0.9871, allocations: 231.3 kB / 1.109 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/2.819, allocations: 64 / 1.109 GB, free: 15.59 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat does not exist to compare? outputFormat=mat