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.233/2.233, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.00111/0.00111, allocations: 173.2 kB / 498.1 MB, free: 5.762 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.559/1.559, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.001088/0.001088, allocations: 99.89 kB / 0.9346 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003804, allocations: 11.19 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3251, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.704/5.029, allocations: 1.929 GB / 3.152 GB, free: 84.62 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/5.03, allocations: 101.7 kB / 3.152 GB, free: 84.52 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.672/9.702, allocations: 1.312 GB / 4.464 GB, free: 90.25 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.963e-06/9.702, allocations: 0 / 4.464 GB, free: 90.25 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002801/9.703, allocations: 47.98 kB / 4.464 GB, free: 90.21 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.007483/9.71, allocations: 2.377 MB / 4.466 GB, free: 87.76 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/9.71, allocations: 8.031 kB / 4.466 GB, free: 87.75 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007693/9.711, allocations: 196.4 kB / 4.467 GB, free: 87.55 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004848/9.716, allocations: 0.4894 MB / 4.467 GB, free: 87.06 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005026/9.721, allocations: 1.764 MB / 4.469 GB, free: 85.24 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/9.721, allocations: 102.5 kB / 4.469 GB, free: 85.14 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004797/9.721, allocations: 132 kB / 4.469 GB, free: 85.01 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003411/9.725, allocations: 1.555 MB / 4.47 GB, free: 83.38 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.653e-05/9.725, allocations: 4 kB / 4.47 GB, free: 83.38 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000233/9.725, allocations: 52 kB / 4.471 GB, free: 83.33 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.216e-05/9.725, allocations: 50.45 kB / 4.471 GB, free: 83.28 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002303/9.728, allocations: 1.259 MB / 4.472 GB, free: 82.01 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.009224/9.737, allocations: 7.212 MB / 4.479 GB, free: 74.23 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/9.738, allocations: 0.6785 MB / 4.48 GB, free: 73.55 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/9.738, allocations: 105.7 kB / 4.48 GB, free: 73.43 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/9.738, allocations: 43.12 kB / 4.48 GB, free: 73.38 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001269/9.739, allocations: 171.1 kB / 4.48 GB, free: 73.21 MB / 1.167 GB Notification: Performance of pre-optimization done (n=67): time 3.782e-05/9.739, allocations: 0 / 4.48 GB, free: 73.21 MB / 1.167 GB Notification: Performance of matching and sorting (n=67): time 0.001829/9.741, allocations: 1.044 MB / 4.481 GB, free: 72.16 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/9.741, allocations: 59.97 kB / 4.481 GB, free: 72.09 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/9.743, allocations: 1.148 MB / 4.482 GB, free: 70.93 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001206/9.743, allocations: 53.62 kB / 4.482 GB, free: 70.88 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004625/9.744, allocations: 0.7817 MB / 4.483 GB, free: 70.09 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/9.744, allocations: 236.6 kB / 4.483 GB, free: 69.85 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/9.744, allocations: 20 kB / 4.483 GB, free: 69.83 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.629e-05/9.744, allocations: 341.9 kB / 4.483 GB, free: 69.49 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/9.744, allocations: 321.8 kB / 4.484 GB, free: 69.18 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006065/9.745, allocations: 0.6498 MB / 4.484 GB, free: 68.39 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000552/9.745, allocations: 432.7 kB / 4.485 GB, free: 67.97 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/9.745, allocations: 3.953 kB / 4.485 GB, free: 67.96 MB / 1.167 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001514/9.747, allocations: 1.078 MB / 4.486 GB, free: 66.88 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004943/9.747, allocations: 2.5 MB / 4.488 GB, free: 64.24 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/9.747, allocations: 15.98 kB / 4.488 GB, free: 64.23 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.867e-05/9.748, allocations: 12 kB / 4.488 GB, free: 64.21 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007989/9.748, allocations: 195.7 kB / 4.488 GB, free: 64.02 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/9.748, allocations: 15.94 kB / 4.488 GB, free: 64.01 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/9.75, allocations: 131.5 kB / 4.489 GB, free: 63.88 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.74e-05/9.75, allocations: 40 kB / 4.489 GB, free: 63.84 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/9.75, allocations: 4 kB / 4.489 GB, free: 63.84 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001218/9.752, allocations: 0.9216 MB / 4.49 GB, free: 62.91 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/9.752, allocations: 4 kB / 4.49 GB, free: 62.91 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/9.752, allocations: 12 kB / 4.49 GB, free: 62.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007404/9.752, allocations: 195.7 kB / 4.49 GB, free: 62.71 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/9.752, allocations: 15.94 kB / 4.49 GB, free: 62.69 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/9.754, allocations: 127.8 kB / 4.49 GB, free: 62.57 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-05/9.754, allocations: 35.98 kB / 4.49 GB, free: 62.53 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 () * Number of clocked 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.0008951/9.755, allocations: 0.4892 MB / 4.49 GB, free: 62.03 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002933/9.755, allocations: 154.2 kB / 4.491 GB, free: 61.88 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/9.757, allocations: 0.8436 MB / 4.491 GB, free: 61.02 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/9.757, allocations: 12 kB / 4.491 GB, free: 61.01 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/9.757, allocations: 0 / 4.491 GB, free: 61.01 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007752/9.757, allocations: 0.8019 MB / 4.492 GB, free: 60.16 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003995/9.761, allocations: 2.354 MB / 4.494 GB, free: 57.73 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.994e-06/9.761, allocations: 3.984 kB / 4.494 GB, free: 57.73 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008026/9.762, allocations: 171.8 kB / 4.495 GB, free: 57.56 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.948e-06/9.762, allocations: 4 kB / 4.495 GB, free: 57.55 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.075e-05/9.762, allocations: 16 kB / 4.495 GB, free: 57.54 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/9.762, allocations: 4 kB / 4.495 GB, free: 57.54 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/9.762, allocations: 3.938 kB / 4.495 GB, free: 57.53 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/9.764, allocations: 1.383 MB / 4.496 GB, free: 56.07 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000808/9.765, allocations: 319.2 kB / 4.496 GB, free: 55.73 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/9.765, allocations: 16 kB / 4.496 GB, free: 55.72 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/9.766, allocations: 103.7 kB / 4.496 GB, free: 55.62 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.251e-05/9.766, allocations: 48.45 kB / 4.496 GB, free: 55.57 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.393e-05/9.766, allocations: 31.98 kB / 4.497 GB, free: 55.54 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001115/9.767, allocations: 0.9005 MB / 4.497 GB, free: 54.64 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.31e-07/9.767, allocations: 0 / 4.497 GB, free: 54.64 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003215/9.771, allocations: 1.166 MB / 4.499 GB, free: 53.47 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 () * Number of clocked 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.0058/9.776, allocations: 5.4 MB / 4.504 GB, free: 47.68 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001969/9.778, allocations: 1.248 MB / 4.505 GB, free: 46.44 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/9.778, allocations: 4 kB / 4.505 GB, free: 46.44 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000457/9.779, allocations: 360.6 kB / 4.505 GB, free: 46.09 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004205/9.783, allocations: 0.8821 MB / 4.506 GB, free: 45.21 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01401/9.797, allocations: 13.12 MB / 4.519 GB, free: 31.61 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007043/9.798, allocations: 1.384 MB / 4.52 GB, free: 30.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001934/9.8, allocations: 428.6 kB / 4.521 GB, free: 29.77 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008167/9.801, allocations: 0.6086 MB / 4.521 GB, free: 29.16 MB / 1.167 GB Notification: Performance of SimCode: time 1.112e-06/9.801, allocations: 0 / 4.521 GB, free: 29.16 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.74/10.54, allocations: 86.33 MB / 4.606 GB, free: 198.5 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001596/10.54, allocations: 226.2 kB / 4.606 GB, free: 198.3 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.68/15.22, allocations: 0 / 4.606 GB, free: 198.3 MB / 1.198 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