Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",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.351/2.351, allocations: 390.5 MB / 398 MB, free: 10.96 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.001107/0.001107, allocations: 184 kB / 491.2 MB, free: 1.586 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.606/1.606, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.001055/0.001055, allocations: 87.89 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.344e-05/2.354e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3062, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.343/5.649, allocations: 1.867 GB / 3.08 GB, free: 435.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/5.65, allocations: 86.11 kB / 3.08 GB, free: 435.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.5892/6.239, allocations: 296.9 MB / 3.37 GB, free: 159.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.254e-06/6.239, allocations: 3.938 kB / 3.37 GB, free: 159.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.564e-05/6.239, allocations: 12 kB / 3.37 GB, free: 159.8 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.001415/6.24, allocations: 0.6508 MB / 3.37 GB, free: 159.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/6.24, allocations: 8.031 kB / 3.37 GB, free: 159.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000388/6.241, allocations: 59.58 kB / 3.371 GB, free: 159.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004844/6.241, allocations: 321.9 kB / 3.371 GB, free: 158.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/6.241, allocations: 8 kB / 3.371 GB, free: 158.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/6.241, allocations: 23.89 kB / 3.371 GB, free: 158.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002693/6.242, allocations: 141.1 kB / 3.371 GB, free: 158.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003625/6.242, allocations: 258.6 kB / 3.371 GB, free: 158.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/6.242, allocations: 0 / 3.371 GB, free: 158.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/6.242, allocations: 7.984 kB / 3.371 GB, free: 158.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/6.242, allocations: 4 kB / 3.371 GB, free: 158.2 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.001296/6.243, allocations: 1.448 MB / 3.373 GB, free: 156.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/6.243, allocations: 94.55 kB / 3.373 GB, free: 156.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.335e-05/6.244, allocations: 68.84 kB / 3.373 GB, free: 156.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004647/6.244, allocations: 303.2 kB / 3.373 GB, free: 156.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/6.244, allocations: 30.56 kB / 3.373 GB, free: 156.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/6.244, allocations: 0 / 3.373 GB, free: 156.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=13): time 0.0005882/6.245, allocations: 202 kB / 3.373 GB, free: 155.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/6.245, allocations: 51.41 kB / 3.373 GB, free: 155.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/6.245, allocations: 190.1 kB / 3.374 GB, free: 155.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/6.245, allocations: 25.7 kB / 3.374 GB, free: 155.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 8.631e-05/6.245, allocations: 191.9 kB / 3.374 GB, free: 155.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/6.245, allocations: 43.45 kB / 3.374 GB, free: 155.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.854e-06/6.245, allocations: 0 / 3.374 GB, free: 155.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.762e-05/6.245, allocations: 330.8 kB / 3.374 GB, free: 155.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.628e-05/6.245, allocations: 35.98 kB / 3.374 GB, free: 155 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.975e-05/6.245, allocations: 104.4 kB / 3.374 GB, free: 154.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/6.245, allocations: 83.88 kB / 3.374 GB, free: 154.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/6.245, allocations: 0 / 3.374 GB, free: 154.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003026/6.246, allocations: 209.1 kB / 3.375 GB, free: 154.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/6.246, allocations: 4 kB / 3.375 GB, free: 154.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/6.246, allocations: 0 / 3.375 GB, free: 154.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/6.246, allocations: 4 kB / 3.375 GB, free: 154.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/6.246, allocations: 39.91 kB / 3.375 GB, free: 154.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/6.246, allocations: 4 kB / 3.375 GB, free: 154.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/6.246, allocations: 27.98 kB / 3.375 GB, free: 154.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.301e-05/6.246, allocations: 8 kB / 3.375 GB, free: 154.5 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 7.242e-05/6.246, allocations: 112.9 kB / 3.375 GB, free: 154.4 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002728/6.247, allocations: 178.9 kB / 3.375 GB, free: 154.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.33e-05/6.247, allocations: 15.81 kB / 3.375 GB, free: 154.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003246/6.247, allocations: 189.5 kB / 3.375 GB, free: 154 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/6.247, allocations: 11.88 kB / 3.375 GB, free: 154 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/6.247, allocations: 0 / 3.375 GB, free: 154 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/6.247, allocations: 0 / 3.375 GB, free: 154 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007673/6.248, allocations: 0.6178 MB / 3.376 GB, free: 153.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/6.248, allocations: 0 / 3.376 GB, free: 153.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/6.248, allocations: 31.92 kB / 3.376 GB, free: 153.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/6.248, allocations: 4 kB / 3.376 GB, free: 153.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/6.248, allocations: 4 kB / 3.376 GB, free: 153.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/6.248, allocations: 128 / 3.376 GB, free: 153.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/6.248, allocations: 8 kB / 3.376 GB, free: 153.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003449/6.248, allocations: 417.2 kB / 3.376 GB, free: 152.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.428e-05/6.248, allocations: 104.8 kB / 3.376 GB, free: 152.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.275e-05/6.248, allocations: 4 kB / 3.376 GB, free: 152.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/6.249, allocations: 27.92 kB / 3.376 GB, free: 152.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/6.249, allocations: 15.94 kB / 3.376 GB, free: 152.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/6.249, allocations: 7.984 kB / 3.376 GB, free: 152.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 8.984e-05/6.249, allocations: 150 kB / 3.376 GB, free: 152.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/6.249, allocations: 0 / 3.376 GB, free: 152.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0006314/6.249, allocations: 151.8 kB / 3.377 GB, free: 152.3 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.002356/6.252, allocations: 2.657 MB / 3.379 GB, free: 149.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002242/6.252, allocations: 107.9 kB / 3.379 GB, free: 149.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/6.252, allocations: 0 / 3.379 GB, free: 149.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 8.39e-05/6.252, allocations: 72.47 kB / 3.379 GB, free: 149.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005108/6.253, allocations: 82.16 kB / 3.379 GB, free: 149.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008405/6.253, allocations: 434.2 kB / 3.38 GB, free: 148.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/6.254, allocations: 0.7867 MB / 3.381 GB, free: 148 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001708/6.254, allocations: 46.17 kB / 3.381 GB, free: 148 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/6.254, allocations: 95.34 kB / 3.381 GB, free: 147.9 MB / 1.151 GB Notification: Performance of SimCode: time 5.41e-07/6.254, allocations: 0 / 3.381 GB, free: 147.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03863/6.293, allocations: 14.75 MB / 3.395 GB, free: 133.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/6.293, allocations: 170.2 kB / 3.395 GB, free: 133 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.257/8.55, allocations: 0 / 3.395 GB, free: 133 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat does not exist to compare? outputFormat=mat