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.242/2.242, allocations: 387.1 MB / 399.7 MB, free: 9.547 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.001324/0.001324, allocations: 172.4 kB / 492.3 MB, free: 0.6445 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.462/1.462, 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.000907/0.0009071, allocations: 77.42 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.03e-05/3.032e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2584, allocations: 142.3 MB / 1.212 GB, free: 38.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.59/5.848, allocations: 1.913 GB / 3.125 GB, free: 351.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/5.849, allocations: 85.72 kB / 3.125 GB, free: 351.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.752/7.601, allocations: 442.5 MB / 3.558 GB, free: 302.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.653e-06/7.601, allocations: 0 / 3.558 GB, free: 302.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.358e-05/7.601, allocations: 12.69 kB / 3.558 GB, free: 302.3 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.002163/7.603, allocations: 0.8439 MB / 3.558 GB, free: 301.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/7.603, allocations: 10.38 kB / 3.558 GB, free: 301.8 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001648/7.603, allocations: 81.34 kB / 3.558 GB, free: 301.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/7.604, allocations: 152.9 kB / 3.559 GB, free: 301.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/7.606, allocations: 0.6846 MB / 3.559 GB, free: 301.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/7.606, allocations: 35.14 kB / 3.559 GB, free: 301.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.006e-05/7.606, allocations: 39.31 kB / 3.559 GB, free: 301.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007714/7.607, allocations: 416.8 kB / 3.56 GB, free: 301.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/7.607, allocations: 0 / 3.56 GB, free: 301.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.506e-05/7.607, allocations: 13.66 kB / 3.56 GB, free: 301.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/7.607, allocations: 9.875 kB / 3.56 GB, free: 301.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004757/7.608, allocations: 290.1 kB / 3.56 GB, free: 301.4 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.00214/7.61, allocations: 1.988 MB / 3.562 GB, free: 300.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/7.61, allocations: 204.8 kB / 3.562 GB, free: 300.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/7.61, allocations: 122.2 kB / 3.562 GB, free: 300.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005048/7.611, allocations: 300.1 kB / 3.563 GB, free: 299.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/7.611, allocations: 32.97 kB / 3.563 GB, free: 299.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=24): time 1.954e-06/7.611, allocations: 3.031 kB / 3.563 GB, free: 299.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=24): time 0.0006647/7.612, allocations: 296.4 kB / 3.563 GB, free: 299.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/7.612, allocations: 60.81 kB / 3.563 GB, free: 299.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003409/7.612, allocations: 349 kB / 3.563 GB, free: 299.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/7.612, allocations: 29.33 kB / 3.563 GB, free: 299.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/7.612, allocations: 234 kB / 3.564 GB, free: 299.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.205e-05/7.612, allocations: 85.39 kB / 3.564 GB, free: 299.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.243e-05/7.612, allocations: 3.812 kB / 3.564 GB, free: 299.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.163e-05/7.612, allocations: 348.6 kB / 3.564 GB, free: 299 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/7.613, allocations: 86.44 kB / 3.564 GB, free: 299 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/7.613, allocations: 180 kB / 3.564 GB, free: 298.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/7.613, allocations: 117.1 kB / 3.564 GB, free: 298.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/7.613, allocations: 0 / 3.564 GB, free: 298.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004431/7.613, allocations: 314.9 kB / 3.565 GB, free: 298.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/7.613, allocations: 7.812 kB / 3.565 GB, free: 298.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/7.613, allocations: 0 / 3.565 GB, free: 298.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/7.613, allocations: 3.375 kB / 3.565 GB, free: 298.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/7.614, allocations: 72.2 kB / 3.565 GB, free: 298.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/7.614, allocations: 1.625 kB / 3.565 GB, free: 298.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003522/7.614, allocations: 62.17 kB / 3.565 GB, free: 298.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.51e-05/7.614, allocations: 14.72 kB / 3.565 GB, free: 298.9 MB / 1.151 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.222e-05/7.614, allocations: 120.5 kB / 3.565 GB, free: 298.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.881e-05/7.614, allocations: 40.72 kB / 3.565 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005215/7.615, allocations: 316 kB / 3.565 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/7.615, allocations: 7.359 kB / 3.565 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/7.615, allocations: 13.08 kB / 3.565 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.247e-06/7.615, allocations: 0 / 3.565 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/7.616, allocations: 0.8806 MB / 3.566 GB, free: 298.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/7.616, allocations: 0 / 3.566 GB, free: 298.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/7.616, allocations: 58.17 kB / 3.566 GB, free: 298.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/7.616, allocations: 2 kB / 3.566 GB, free: 298.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/7.616, allocations: 7.906 kB / 3.566 GB, free: 298.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/7.616, allocations: 2.375 kB / 3.566 GB, free: 298.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/7.616, allocations: 5.312 kB / 3.566 GB, free: 298.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006439/7.617, allocations: 0.6433 MB / 3.567 GB, free: 298 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/7.617, allocations: 146.9 kB / 3.567 GB, free: 297.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.101e-05/7.617, allocations: 10.88 kB / 3.567 GB, free: 297.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/7.618, allocations: 29.75 kB / 3.567 GB, free: 297.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/7.618, allocations: 21.52 kB / 3.567 GB, free: 297.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/7.618, allocations: 11.31 kB / 3.567 GB, free: 297.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002534/7.618, allocations: 277.4 kB / 3.567 GB, free: 297.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/7.618, allocations: 0 / 3.567 GB, free: 297.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001052/7.619, allocations: 251.6 kB / 3.568 GB, free: 297.8 MB / 1.151 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.003364/7.622, allocations: 3.067 MB / 3.571 GB, free: 296.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0004558/7.623, allocations: 243.7 kB / 3.571 GB, free: 296.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/7.623, allocations: 0 / 3.571 GB, free: 296.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001776/7.623, allocations: 129.6 kB / 3.571 GB, free: 296.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/7.624, allocations: 202.9 kB / 3.571 GB, free: 296.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/7.626, allocations: 0.701 MB / 3.572 GB, free: 295.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/7.626, allocations: 0.8378 MB / 3.573 GB, free: 295.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003551/7.626, allocations: 93 kB / 3.573 GB, free: 295.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/7.626, allocations: 140.9 kB / 3.573 GB, free: 295.1 MB / 1.151 GB Notification: Performance of SimCode: time 3.2e-07/7.626, allocations: 0 / 3.573 GB, free: 295.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07319/7.7, allocations: 38.56 MB / 3.61 GB, free: 293.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/7.7, allocations: 199.3 kB / 3.611 GB, free: 293.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.593/11.29, allocations: 3.938 kB / 3.611 GB, free: 293.6 MB / 1.151 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