Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.376/2.376, allocations: 387.1 MB / 399.7 MB, free: 9.508 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.001134/0.001134, allocations: 172.9 kB / 492.3 MB, free: 0.6211 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.572/1.572, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0008665/0.0008666, allocations: 109.5 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.054e-05/3.056e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2957, allocations: 142.3 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.401/5.697, allocations: 1.867 GB / 3.08 GB, free: 362 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/5.698, allocations: 89.12 kB / 3.08 GB, free: 362 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.6109/6.308, allocations: 300.5 MB / 3.373 GB, free: 127.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.515e-06/6.309, allocations: 4 kB / 3.373 GB, free: 127.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.959e-05/6.309, allocations: 12 kB / 3.373 GB, free: 127.6 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001565/6.31, allocations: 0.6472 MB / 3.374 GB, free: 126.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/6.31, allocations: 8.031 kB / 3.374 GB, free: 126.9 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001248/6.31, allocations: 62.53 kB / 3.374 GB, free: 126.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004461/6.311, allocations: 55.59 kB / 3.374 GB, free: 126.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006693/6.311, allocations: 329.9 kB / 3.374 GB, free: 126.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/6.312, allocations: 16.56 kB / 3.374 GB, free: 126.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.049e-05/6.312, allocations: 28 kB / 3.374 GB, free: 126.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005468/6.312, allocations: 295.7 kB / 3.375 GB, free: 126.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/6.312, allocations: 7.984 kB / 3.375 GB, free: 126.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/6.312, allocations: 12 kB / 3.375 GB, free: 126.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/6.312, allocations: 4 kB / 3.375 GB, free: 126.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003546/6.313, allocations: 165.6 kB / 3.375 GB, free: 125.9 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/6.314, allocations: 1.53 MB / 3.376 GB, free: 124.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/6.314, allocations: 98.55 kB / 3.377 GB, free: 124.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/6.315, allocations: 76.77 kB / 3.377 GB, free: 124.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005531/6.315, allocations: 295.3 kB / 3.377 GB, free: 123.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/6.315, allocations: 38.56 kB / 3.377 GB, free: 123.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=13): time 1.974e-06/6.315, allocations: 0 / 3.377 GB, free: 123.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=13): time 0.0005764/6.316, allocations: 173.2 kB / 3.377 GB, free: 123.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/6.316, allocations: 51.41 kB / 3.377 GB, free: 123.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/6.316, allocations: 282.7 kB / 3.377 GB, free: 123.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/6.316, allocations: 25.7 kB / 3.377 GB, free: 123.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/6.316, allocations: 184.1 kB / 3.378 GB, free: 122.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/6.316, allocations: 43.44 kB / 3.378 GB, free: 122.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.307e-06/6.316, allocations: 4 kB / 3.378 GB, free: 122.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.903e-05/6.316, allocations: 338.8 kB / 3.378 GB, free: 122.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.89e-05/6.317, allocations: 44.02 kB / 3.378 GB, free: 122.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/6.317, allocations: 106.8 kB / 3.378 GB, free: 122.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/6.317, allocations: 59.86 kB / 3.378 GB, free: 122.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/6.317, allocations: 0 / 3.378 GB, free: 122.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003393/6.317, allocations: 189.1 kB / 3.378 GB, free: 122.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/6.317, allocations: 9.094 kB / 3.378 GB, free: 122.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/6.317, allocations: 160 / 3.378 GB, free: 122.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/6.317, allocations: 8 kB / 3.378 GB, free: 122.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/6.317, allocations: 35.97 kB / 3.378 GB, free: 122.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/6.317, allocations: 0 / 3.378 GB, free: 122.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/6.318, allocations: 43.67 kB / 3.378 GB, free: 122 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.013e-05/6.318, allocations: 8 kB / 3.378 GB, free: 122 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 8.557e-05/6.318, allocations: 126.1 kB / 3.379 GB, free: 121.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.103e-05/6.318, allocations: 23.72 kB / 3.379 GB, free: 121.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003521/6.318, allocations: 176.7 kB / 3.379 GB, free: 121.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/6.318, allocations: 0 / 3.379 GB, free: 121.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/6.318, allocations: 3.984 kB / 3.379 GB, free: 121.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/6.318, allocations: 64 / 3.379 GB, free: 121.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009346/6.319, allocations: 0.6483 MB / 3.379 GB, free: 121 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/6.319, allocations: 0 / 3.379 GB, free: 121 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/6.319, allocations: 31.98 kB / 3.379 GB, free: 120.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/6.32, allocations: 8.219 kB / 3.379 GB, free: 120.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/6.32, allocations: 7.938 kB / 3.379 GB, free: 120.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/6.32, allocations: 0 / 3.379 GB, free: 120.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/6.32, allocations: 4 kB / 3.379 GB, free: 120.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/6.32, allocations: 389 kB / 3.38 GB, free: 120.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/6.32, allocations: 112.8 kB / 3.38 GB, free: 120.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.004e-05/6.32, allocations: 8 kB / 3.38 GB, free: 120.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/6.32, allocations: 15.98 kB / 3.38 GB, free: 120.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/6.32, allocations: 19.94 kB / 3.38 GB, free: 120.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/6.32, allocations: 11.94 kB / 3.38 GB, free: 120.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000228/6.321, allocations: 222.2 kB / 3.38 GB, free: 120 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.41e-07/6.321, allocations: 3.938 kB / 3.38 GB, free: 120 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001015/6.322, allocations: 179.8 kB / 3.38 GB, free: 119.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.00286/6.325, allocations: 2.491 MB / 3.383 GB, free: 117.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002903/6.325, allocations: 119.8 kB / 3.383 GB, free: 117.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/6.325, allocations: 4 kB / 3.383 GB, free: 117.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/6.325, allocations: 59.92 kB / 3.383 GB, free: 117.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000945/6.326, allocations: 144.4 kB / 3.383 GB, free: 117 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/6.327, allocations: 466.1 kB / 3.384 GB, free: 116.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/6.327, allocations: 0.7836 MB / 3.384 GB, free: 115.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002667/6.328, allocations: 58.92 kB / 3.384 GB, free: 115.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/6.328, allocations: 91.41 kB / 3.384 GB, free: 115.5 MB / 1.151 GB Notification: Performance of SimCode: time 4.01e-07/6.328, allocations: 0 / 3.384 GB, free: 115.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05712/6.385, allocations: 29.59 MB / 3.413 GB, free: 86.05 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/6.385, allocations: 190.9 kB / 3.414 GB, free: 85.83 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.901/9.287, allocations: 4 kB / 3.414 GB, free: 85.82 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat does not exist to compare? outputFormat=mat