Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.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.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",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.345/2.345, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001293/0.001293, allocations: 180.8 kB / 487.4 MB, free: 5.027 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.683/1.683, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 105.4 kB / 0.9219 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.369e-05/2.372e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3271, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.416/5.743, allocations: 1.928 GB / 3.134 GB, free: 348.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/5.744, allocations: 89.39 kB / 3.134 GB, free: 348.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.829/10.57, allocations: 1.297 GB / 4.431 GB, free: 185.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.194e-06/10.57, allocations: 0 / 4.431 GB, free: 185.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001573/10.57, allocations: 54.59 kB / 4.432 GB, free: 185.9 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.005903/10.58, allocations: 2.091 MB / 4.434 GB, free: 185.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/10.58, allocations: 14.5 kB / 4.434 GB, free: 185.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004564/10.58, allocations: 0.4887 MB / 4.434 GB, free: 185.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004503/10.59, allocations: 1.739 MB / 4.436 GB, free: 184.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.893e-05/10.59, allocations: 47.36 kB / 4.436 GB, free: 184.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000196/10.59, allocations: 81.16 kB / 4.436 GB, free: 184.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002221/10.59, allocations: 1.159 MB / 4.437 GB, free: 184.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/10.59, allocations: 1.268 MB / 4.438 GB, free: 184.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.654e-05/10.59, allocations: 3 kB / 4.438 GB, free: 184.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/10.59, allocations: 3.938 kB / 4.438 GB, free: 184.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.702e-05/10.59, allocations: 47.66 kB / 4.438 GB, free: 184.6 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.008237/10.6, allocations: 6.934 MB / 4.445 GB, free: 180.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009364/10.6, allocations: 0.6348 MB / 4.446 GB, free: 180.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004188/10.6, allocations: 354.3 kB / 4.446 GB, free: 180.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002066/10.6, allocations: 110.1 kB / 4.446 GB, free: 180.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/10.6, allocations: 45.62 kB / 4.446 GB, free: 180.7 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001068/10.6, allocations: 140.2 kB / 4.446 GB, free: 180.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=67): time 2.875e-06/10.6, allocations: 0 / 4.446 GB, free: 180.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=67): time 0.001345/10.61, allocations: 0.7372 MB / 4.447 GB, free: 180.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/10.61, allocations: 62.25 kB / 4.447 GB, free: 180.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/10.61, allocations: 0.9075 MB / 4.448 GB, free: 180.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.48e-05/10.61, allocations: 25.7 kB / 4.448 GB, free: 180.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004914/10.61, allocations: 0.7922 MB / 4.449 GB, free: 180.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000186/10.61, allocations: 238.8 kB / 4.449 GB, free: 180 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/10.61, allocations: 0 / 4.449 GB, free: 180 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001063/10.61, allocations: 338.2 kB / 4.449 GB, free: 179.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003855/10.61, allocations: 301.1 kB / 4.45 GB, free: 179.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006214/10.61, allocations: 0.62 MB / 4.45 GB, free: 179.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005537/10.61, allocations: 405.7 kB / 4.451 GB, free: 179.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/10.61, allocations: 0 / 4.451 GB, free: 179.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001353/10.61, allocations: 0.9623 MB / 4.452 GB, free: 179.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006078/10.61, allocations: 2.483 MB / 4.454 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/10.61, allocations: 8.719 kB / 4.454 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.143e-05/10.61, allocations: 16.62 kB / 4.454 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008387/10.61, allocations: 202.1 kB / 4.454 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/10.61, allocations: 12.25 kB / 4.454 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/10.61, allocations: 104.7 kB / 4.454 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.891e-05/10.61, allocations: 40.34 kB / 4.454 GB, free: 176.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.268e-06/10.61, allocations: 3.875 kB / 4.454 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001113/10.61, allocations: 0.7974 MB / 4.455 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/10.61, allocations: 6.719 kB / 4.455 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/10.61, allocations: 10.56 kB / 4.455 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007495/10.62, allocations: 201 kB / 4.455 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/10.62, allocations: 13.31 kB / 4.455 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/10.62, allocations: 102.5 kB / 4.455 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-05/10.62, allocations: 40.42 kB / 4.455 GB, free: 176.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 111 * 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.0002399/10.62, allocations: 131.8 kB / 4.456 GB, free: 176.5 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009909/10.62, allocations: 0.6935 MB / 4.456 GB, free: 176.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/10.62, allocations: 144.7 kB / 4.456 GB, free: 176.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/10.62, allocations: 0.7656 MB / 4.457 GB, free: 176.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/10.62, allocations: 10.06 kB / 4.457 GB, free: 176.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/10.62, allocations: 0 / 4.457 GB, free: 176.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007897/10.62, allocations: 0.7528 MB / 4.458 GB, free: 175.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003456/10.62, allocations: 2.138 MB / 4.46 GB, free: 175.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/10.62, allocations: 3.188 kB / 4.46 GB, free: 175.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007631/10.63, allocations: 166.9 kB / 4.46 GB, free: 175.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/10.63, allocations: 6.125 kB / 4.46 GB, free: 175.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.57e-05/10.63, allocations: 7.656 kB / 4.46 GB, free: 175.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.734e-06/10.63, allocations: 6.969 kB / 4.46 GB, free: 175.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/10.63, allocations: 6.875 kB / 4.46 GB, free: 175.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/10.63, allocations: 1.293 MB / 4.461 GB, free: 175.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005982/10.63, allocations: 310.5 kB / 4.462 GB, free: 175 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/10.63, allocations: 5.875 kB / 4.462 GB, free: 175 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/10.63, allocations: 85.34 kB / 4.462 GB, free: 175 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.801e-05/10.63, allocations: 42.16 kB / 4.462 GB, free: 175 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.908e-05/10.63, allocations: 35.81 kB / 4.462 GB, free: 175 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009063/10.63, allocations: 0.6881 MB / 4.463 GB, free: 174.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.71e-07/10.63, allocations: 0 / 4.463 GB, free: 174.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003039/10.63, allocations: 1.053 MB / 4.464 GB, free: 174.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.medium.Xi[1],humBac.vol.dynBal.U,humBac.vol.dynBal.m,humFor.vol.dynBal.medium.Xi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 72 * 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.006816/10.64, allocations: 5.654 MB / 4.469 GB, free: 172.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002055/10.64, allocations: 1.206 MB / 4.47 GB, free: 172.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/10.64, allocations: 0 / 4.47 GB, free: 172.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004283/10.64, allocations: 331.2 kB / 4.471 GB, free: 172.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004214/10.65, allocations: 0.7551 MB / 4.471 GB, free: 172.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005317/10.65, allocations: 2.627 MB / 4.474 GB, free: 171.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00087/10.65, allocations: 1.385 MB / 4.475 GB, free: 170.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002182/10.65, allocations: 0.495 MB / 4.476 GB, free: 170.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006766/10.66, allocations: 0.5784 MB / 4.476 GB, free: 170.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.172e-06/10.66, allocations: 0 / 4.476 GB, free: 170.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1078/10.76, allocations: 61.13 MB / 4.536 GB, free: 168.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/10.76, allocations: 181.1 kB / 4.536 GB, free: 168.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.308/15.07, allocations: 0 / 4.536 GB, free: 168.6 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.mat does not exist to compare? outputFormat=mat