Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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.183/2.183, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001077/0.001077, allocations: 165.2 kB / 498.1 MB, free: 5.75 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.525/1.525, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.001059/0.001059, allocations: 92.33 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003475, allocations: 10.31 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2986, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.028/4.327, allocations: 1.913 GB / 3.136 GB, free: 101.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/4.327, allocations: 96.47 kB / 3.136 GB, free: 101.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.465/5.792, allocations: 442.9 MB / 3.568 GB, free: 124.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.432e-06/5.792, allocations: 0 / 3.568 GB, free: 124.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.675e-05/5.792, allocations: 16 kB / 3.568 GB, free: 124.6 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001897/5.794, allocations: 0.9045 MB / 3.569 GB, free: 123.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.214e-05/5.794, allocations: 16.02 kB / 3.569 GB, free: 123.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.378e-05/5.795, allocations: 82.41 kB / 3.569 GB, free: 123.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009575/5.795, allocations: 151.3 kB / 3.57 GB, free: 123.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/5.797, allocations: 0.6751 MB / 3.57 GB, free: 122.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/5.797, allocations: 33 kB / 3.57 GB, free: 122.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.974e-05/5.797, allocations: 43.91 kB / 3.57 GB, free: 122.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006777/5.798, allocations: 446.4 kB / 3.571 GB, free: 122.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/5.798, allocations: 3.953 kB / 3.571 GB, free: 122.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.216e-05/5.798, allocations: 16 kB / 3.571 GB, free: 122.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/5.798, allocations: 8 kB / 3.571 GB, free: 122.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005398/5.798, allocations: 323.7 kB / 3.571 GB, free: 121.8 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.001817/5.8, allocations: 1.993 MB / 3.573 GB, free: 119.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003354/5.801, allocations: 222.3 kB / 3.573 GB, free: 119.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004982/5.801, allocations: 315.2 kB / 3.574 GB, free: 119 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/5.801, allocations: 38.56 kB / 3.574 GB, free: 119 MB / 1.167 GB Notification: Performance of pre-optimization done (n=24): time 3.437e-06/5.801, allocations: 0 / 3.574 GB, free: 119 MB / 1.167 GB Notification: Performance of matching and sorting (n=24): time 0.0009087/5.802, allocations: 441.2 kB / 3.574 GB, free: 118.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/5.802, allocations: 51.41 kB / 3.574 GB, free: 118.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003132/5.802, allocations: 357 kB / 3.574 GB, free: 118.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/5.802, allocations: 33.7 kB / 3.574 GB, free: 118.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/5.803, allocations: 224.3 kB / 3.575 GB, free: 117.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.966e-05/5.803, allocations: 90.73 kB / 3.575 GB, free: 117.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.224e-05/5.803, allocations: 4 kB / 3.575 GB, free: 117.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.669e-05/5.803, allocations: 346.8 kB / 3.575 GB, free: 117.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/5.803, allocations: 103.9 kB / 3.575 GB, free: 117.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/5.803, allocations: 198.2 kB / 3.575 GB, free: 117.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/5.803, allocations: 134.2 kB / 3.575 GB, free: 117 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/5.803, allocations: 0 / 3.575 GB, free: 117 MB / 1.167 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005/5.804, allocations: 354 kB / 3.576 GB, free: 116.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/5.804, allocations: 12.58 kB / 3.576 GB, free: 116.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/5.804, allocations: 0 / 3.576 GB, free: 116.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/5.804, allocations: 4.219 kB / 3.576 GB, free: 116.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/5.804, allocations: 67.91 kB / 3.576 GB, free: 116.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/5.804, allocations: 4 kB / 3.576 GB, free: 116.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003201/5.805, allocations: 55.56 kB / 3.576 GB, free: 116.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.122e-05/5.805, allocations: 19.98 kB / 3.576 GB, free: 116.5 MB / 1.167 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 (31): * Single equations (assignments): 31 * 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.000169/5.805, allocations: 166.3 kB / 3.576 GB, free: 116.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.666e-05/5.805, allocations: 35.53 kB / 3.576 GB, free: 116.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005931/5.805, allocations: 370.4 kB / 3.577 GB, free: 115.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/5.805, allocations: 0 / 3.577 GB, free: 115.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/5.806, allocations: 3.984 kB / 3.577 GB, free: 115.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/5.806, allocations: 3.938 kB / 3.577 GB, free: 115.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/5.807, allocations: 0.9032 MB / 3.577 GB, free: 114.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/5.807, allocations: 0 / 3.577 GB, free: 114.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/5.807, allocations: 60.12 kB / 3.577 GB, free: 114.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/5.807, allocations: 4 kB / 3.577 GB, free: 114.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/5.807, allocations: 8 kB / 3.577 GB, free: 114.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/5.807, allocations: 8.016 kB / 3.577 GB, free: 114.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/5.807, allocations: 3.984 kB / 3.577 GB, free: 114.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007474/5.808, allocations: 0.6922 MB / 3.578 GB, free: 114 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/5.808, allocations: 140.6 kB / 3.578 GB, free: 113.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.857e-05/5.808, allocations: 12.06 kB / 3.578 GB, free: 113.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/5.808, allocations: 31.91 kB / 3.578 GB, free: 113.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.391e-05/5.808, allocations: 19.88 kB / 3.578 GB, free: 113.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/5.808, allocations: 16 kB / 3.578 GB, free: 113.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000238/5.809, allocations: 279.1 kB / 3.579 GB, free: 113.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/5.809, allocations: 0 / 3.579 GB, free: 113.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001005/5.81, allocations: 255.8 kB / 3.579 GB, free: 113.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.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 (24): * Single equations (assignments): 24 * 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.003128/5.813, allocations: 3.135 MB / 3.582 GB, free: 110 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.000527/5.813, allocations: 275.9 kB / 3.582 GB, free: 109.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/5.813, allocations: 4.062 kB / 3.582 GB, free: 109.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002155/5.813, allocations: 144.7 kB / 3.582 GB, free: 109.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009178/5.814, allocations: 203.4 kB / 3.583 GB, free: 109.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003132/5.818, allocations: 3.471 MB / 3.586 GB, free: 105.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/5.818, allocations: 0.8353 MB / 3.587 GB, free: 105 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0003357/5.818, allocations: 99.34 kB / 3.587 GB, free: 104.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/5.818, allocations: 135.4 kB / 3.587 GB, free: 104.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.433e-06/5.818, allocations: 0 / 3.587 GB, free: 104.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05228/5.871, allocations: 34.44 MB / 3.621 GB, free: 70.53 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001506/5.871, allocations: 226.1 kB / 3.621 GB, free: 70.29 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.233/9.104, allocations: 0 / 3.621 GB, free: 70.29 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat does not exist to compare? outputFormat=mat