Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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.185/2.185, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001281/0.001281, allocations: 180.9 kB / 496.1 MB, free: 12.87 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.468/1.468, allocations: 221.3 MB / 0.7915 GB, free: 5.379 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.0009538/0.0009538, allocations: 95.88 kB / 0.9317 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.496e-05/4.51e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2528, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.983/5.236, allocations: 1.914 GB / 3.132 GB, free: 401.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/5.236, allocations: 83.95 kB / 3.133 GB, free: 401 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.527/6.763, allocations: 442.5 MB / 3.565 GB, free: 306 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.302e-06/6.763, allocations: 1.156 kB / 3.565 GB, free: 306 MB / 1.167 GB Notification: Performance of Transformations before backend: time 4.699e-05/6.763, allocations: 15.89 kB / 3.565 GB, free: 306 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.002232/6.765, allocations: 0.8416 MB / 3.566 GB, free: 305.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.258e-05/6.765, allocations: 11.58 kB / 3.566 GB, free: 305.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001062/6.765, allocations: 81.8 kB / 3.566 GB, free: 305.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/6.767, allocations: 153.3 kB / 3.566 GB, free: 305.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/6.769, allocations: 0.6811 MB / 3.566 GB, free: 305.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.239e-05/6.769, allocations: 28.94 kB / 3.566 GB, free: 305.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.64e-05/6.769, allocations: 41.97 kB / 3.566 GB, free: 305.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007216/6.77, allocations: 413.2 kB / 3.567 GB, free: 305.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/6.77, allocations: 0 / 3.567 GB, free: 305.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/6.77, allocations: 17.97 kB / 3.567 GB, free: 305.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/6.77, allocations: 17.2 kB / 3.567 GB, free: 305.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004989/6.77, allocations: 279.7 kB / 3.567 GB, free: 305.2 MB / 1.167 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.002038/6.772, allocations: 1.997 MB / 3.569 GB, free: 303.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/6.772, allocations: 204.3 kB / 3.569 GB, free: 303.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/6.773, allocations: 121.8 kB / 3.569 GB, free: 303.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005001/6.773, allocations: 303.4 kB / 3.57 GB, free: 303.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/6.773, allocations: 35.38 kB / 3.57 GB, free: 303.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=24): time 1.893e-06/6.773, allocations: 0 / 3.57 GB, free: 303.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=24): time 0.0007957/6.774, allocations: 296 kB / 3.57 GB, free: 303.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/6.774, allocations: 61.22 kB / 3.57 GB, free: 303.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005405/6.775, allocations: 341.5 kB / 3.57 GB, free: 303.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/6.775, allocations: 31.77 kB / 3.57 GB, free: 303.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/6.775, allocations: 228.4 kB / 3.571 GB, free: 303.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 6.805e-05/6.775, allocations: 86.23 kB / 3.571 GB, free: 303.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.405e-05/6.775, allocations: 5.125 kB / 3.571 GB, free: 303.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.602e-05/6.775, allocations: 350.4 kB / 3.571 GB, free: 302.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/6.775, allocations: 88.83 kB / 3.571 GB, free: 302.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/6.775, allocations: 189.9 kB / 3.571 GB, free: 302.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/6.776, allocations: 107.5 kB / 3.571 GB, free: 302.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/6.776, allocations: 4.156 kB / 3.571 GB, free: 302.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004831/6.776, allocations: 317.4 kB / 3.572 GB, free: 302.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/6.776, allocations: 5.219 kB / 3.572 GB, free: 302.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/6.776, allocations: 3.188 kB / 3.572 GB, free: 302.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/6.776, allocations: 6.391 kB / 3.572 GB, free: 302.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002934/6.776, allocations: 61.67 kB / 3.572 GB, free: 302.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/6.776, allocations: 11.69 kB / 3.572 GB, free: 302.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000347/6.777, allocations: 57.19 kB / 3.572 GB, free: 302.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.636e-05/6.777, allocations: 18.38 kB / 3.572 GB, free: 302.7 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 () * 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 9.008e-05/6.777, allocations: 121 kB / 3.572 GB, free: 302.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.717e-05/6.777, allocations: 38.94 kB / 3.572 GB, free: 302.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000573/6.778, allocations: 318.7 kB / 3.572 GB, free: 302.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/6.778, allocations: 3.156 kB / 3.572 GB, free: 302.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/6.778, allocations: 3.953 kB / 3.572 GB, free: 302.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/6.778, allocations: 3.562 kB / 3.572 GB, free: 302.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/6.779, allocations: 0.8723 MB / 3.573 GB, free: 302.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/6.779, allocations: 1.719 kB / 3.573 GB, free: 302.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/6.779, allocations: 56.48 kB / 3.573 GB, free: 302.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/6.779, allocations: 3.438 kB / 3.573 GB, free: 302.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/6.779, allocations: 11.61 kB / 3.573 GB, free: 302.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/6.779, allocations: 2 kB / 3.573 GB, free: 302.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/6.779, allocations: 3.031 kB / 3.573 GB, free: 302.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007473/6.78, allocations: 0.6386 MB / 3.574 GB, free: 301.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/6.78, allocations: 149 kB / 3.574 GB, free: 301.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.169e-05/6.78, allocations: 7.5 kB / 3.574 GB, free: 301.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/6.781, allocations: 30.75 kB / 3.574 GB, free: 301.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.26e-05/6.781, allocations: 21.31 kB / 3.574 GB, free: 301.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/6.781, allocations: 7.188 kB / 3.574 GB, free: 301.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0003183/6.781, allocations: 275.2 kB / 3.574 GB, free: 301.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.61e-07/6.781, allocations: 1.312 kB / 3.574 GB, free: 301.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001118/6.782, allocations: 261.1 kB / 3.575 GB, free: 301.6 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 () * 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.003574/6.786, allocations: 3.069 MB / 3.578 GB, free: 299.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0005367/6.786, allocations: 243.1 kB / 3.578 GB, free: 299.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/6.786, allocations: 6.969 kB / 3.578 GB, free: 299.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001671/6.787, allocations: 127 kB / 3.578 GB, free: 299.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/6.788, allocations: 211.5 kB / 3.578 GB, free: 299.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/6.789, allocations: 0.7005 MB / 3.579 GB, free: 299.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/6.789, allocations: 0.8325 MB / 3.58 GB, free: 298.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0003452/6.79, allocations: 96.23 kB / 3.58 GB, free: 298.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/6.79, allocations: 139.3 kB / 3.58 GB, free: 298.9 MB / 1.167 GB Notification: Performance of SimCode: time 7.72e-07/6.79, allocations: 0 / 3.58 GB, free: 298.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06861/6.858, allocations: 38.56 MB / 3.618 GB, free: 298.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/6.859, allocations: 204.5 kB / 3.618 GB, free: 297.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.359/10.22, allocations: 1.688 kB / 3.618 GB, free: 297.9 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat does not exist to compare? outputFormat=mat