Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.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.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",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.523/2.523, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.00125/0.00125, allocations: 184 kB / 0.4901 GB, free: 2.219 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.598/1.598, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.001275/0.001275, allocations: 98.16 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005195/0.0005195, allocations: 10.69 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3434, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.042/5.385, allocations: 1.93 GB / 3.159 GB, free: 51.15 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/5.386, allocations: 100.7 kB / 3.159 GB, free: 51.05 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.699/10.08, allocations: 1.312 GB / 4.471 GB, free: 51.34 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.174e-06/10.08, allocations: 0 / 4.471 GB, free: 51.34 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002189/10.08, allocations: 47.98 kB / 4.471 GB, free: 51.3 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/10.09, allocations: 2.376 MB / 4.473 GB, free: 48.85 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/10.09, allocations: 12.83 kB / 4.473 GB, free: 48.84 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006579/10.09, allocations: 194.1 kB / 4.474 GB, free: 48.64 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005299/10.1, allocations: 0.4894 MB / 4.474 GB, free: 48.15 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005188/10.1, allocations: 1.772 MB / 4.476 GB, free: 46.32 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.982e-05/10.1, allocations: 98.55 kB / 4.476 GB, free: 46.22 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000397/10.1, allocations: 136 kB / 4.476 GB, free: 46.09 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003002/10.11, allocations: 1.555 MB / 4.478 GB, free: 44.46 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.934e-05/10.11, allocations: 0 / 4.478 GB, free: 44.46 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001954/10.11, allocations: 56 kB / 4.478 GB, free: 44.41 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.965e-05/10.11, allocations: 46.44 kB / 4.478 GB, free: 44.36 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002229/10.11, allocations: 1.266 MB / 4.479 GB, free: 43.09 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.008853/10.12, allocations: 7.211 MB / 4.486 GB, free: 35.31 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/10.12, allocations: 0.6688 MB / 4.487 GB, free: 34.63 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000191/10.12, allocations: 109.7 kB / 4.487 GB, free: 34.51 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/10.12, allocations: 47.12 kB / 4.487 GB, free: 34.45 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001128/10.12, allocations: 167.1 kB / 4.487 GB, free: 34.29 MB / 1.167 GB Notification: Performance of pre-optimization done (n=67): time 4.649e-06/10.12, allocations: 0 / 4.487 GB, free: 34.29 MB / 1.167 GB Notification: Performance of matching and sorting (n=67): time 0.001823/10.12, allocations: 1.048 MB / 4.488 GB, free: 33.23 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/10.12, allocations: 55.97 kB / 4.488 GB, free: 33.17 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/10.12, allocations: 1.152 MB / 4.489 GB, free: 32.01 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001021/10.12, allocations: 45.7 kB / 4.489 GB, free: 31.96 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004446/10.12, allocations: 0.7856 MB / 4.49 GB, free: 31.17 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/10.13, allocations: 236.6 kB / 4.49 GB, free: 30.93 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/10.13, allocations: 16 kB / 4.49 GB, free: 30.92 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.689e-05/10.13, allocations: 349.9 kB / 4.491 GB, free: 30.57 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004166/10.13, allocations: 321.8 kB / 4.491 GB, free: 30.25 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005805/10.13, allocations: 0.6496 MB / 4.491 GB, free: 29.46 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005558/10.13, allocations: 437 kB / 4.492 GB, free: 29.04 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/10.13, allocations: 4 kB / 4.492 GB, free: 29.04 MB / 1.167 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001401/10.13, allocations: 1.074 MB / 4.493 GB, free: 27.95 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004487/10.13, allocations: 2.504 MB / 4.495 GB, free: 25.31 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/10.13, allocations: 7.938 kB / 4.495 GB, free: 25.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/10.13, allocations: 12 kB / 4.495 GB, free: 25.29 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008129/10.13, allocations: 195.7 kB / 4.496 GB, free: 25.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/10.13, allocations: 19.88 kB / 4.496 GB, free: 25.08 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/10.13, allocations: 131.6 kB / 4.496 GB, free: 24.95 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.885e-05/10.13, allocations: 39.98 kB / 4.496 GB, free: 24.91 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/10.13, allocations: 8 kB / 4.496 GB, free: 24.91 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001173/10.13, allocations: 0.9098 MB / 4.497 GB, free: 24 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/10.13, allocations: 8 kB / 4.497 GB, free: 23.99 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/10.13, allocations: 11.98 kB / 4.497 GB, free: 23.98 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007605/10.13, allocations: 199.7 kB / 4.497 GB, free: 23.78 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/10.13, allocations: 15.92 kB / 4.497 GB, free: 23.77 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/10.13, allocations: 119.9 kB / 4.497 GB, free: 23.65 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.622e-05/10.14, allocations: 47.98 kB / 4.497 GB, free: 23.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 () * 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.0008184/10.14, allocations: 0.4892 MB / 4.498 GB, free: 23.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002494/10.14, allocations: 150.2 kB / 4.498 GB, free: 22.95 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/10.14, allocations: 0.8474 MB / 4.499 GB, free: 22.09 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/10.14, allocations: 4 kB / 4.499 GB, free: 22.09 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/10.14, allocations: 0 / 4.499 GB, free: 22.09 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007806/10.14, allocations: 0.8058 MB / 4.499 GB, free: 21.24 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003525/10.14, allocations: 2.35 MB / 4.502 GB, free: 18.81 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/10.14, allocations: 3.938 kB / 4.502 GB, free: 18.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008131/10.14, allocations: 167.7 kB / 4.502 GB, free: 18.64 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/10.14, allocations: 4 kB / 4.502 GB, free: 18.64 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.559e-05/10.14, allocations: 23.98 kB / 4.502 GB, free: 18.61 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/10.14, allocations: 4 kB / 4.502 GB, free: 18.61 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/10.14, allocations: 11.89 kB / 4.502 GB, free: 18.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/10.14, allocations: 1.371 MB / 4.503 GB, free: 17.15 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007232/10.14, allocations: 323.2 kB / 4.503 GB, free: 16.81 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002489/10.15, allocations: 20 kB / 4.503 GB, free: 16.79 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/10.15, allocations: 95.88 kB / 4.504 GB, free: 16.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.712e-05/10.15, allocations: 60.39 kB / 4.504 GB, free: 16.64 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.866e-05/10.15, allocations: 27.98 kB / 4.504 GB, free: 16.61 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001189/10.15, allocations: 0.9005 MB / 4.505 GB, free: 15.71 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.81e-07/10.15, allocations: 0 / 4.505 GB, free: 15.71 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003666/10.15, allocations: 1.162 MB / 4.506 GB, free: 14.55 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.007165/10.16, allocations: 5.392 MB / 4.511 GB, free: 8.762 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002327/10.16, allocations: 1.253 MB / 4.512 GB, free: 7.512 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/10.16, allocations: 0 / 4.512 GB, free: 7.512 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004694/10.16, allocations: 354.9 kB / 4.512 GB, free: 7.16 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004726/10.17, allocations: 0.8842 MB / 4.513 GB, free: 6.285 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01829/10.18, allocations: 13.12 MB / 4.526 GB, free: 8.695 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001478/10.19, allocations: 1.384 MB / 4.528 GB, free: 7.285 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.00241/10.19, allocations: 420.7 kB / 4.528 GB, free: 6.867 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/10.19, allocations: 0.6203 MB / 4.529 GB, free: 6.246 MB / 1.182 GB Notification: Performance of SimCode: time 1.253e-06/10.19, allocations: 0 / 4.529 GB, free: 6.246 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7558/10.95, allocations: 86.32 MB / 4.613 GB, free: 185 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002495/10.95, allocations: 239.7 kB / 4.613 GB, free: 184.8 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.24/16.19, allocations: 0 / 4.613 GB, free: 184.8 MB / 1.198 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.mat does not exist to compare? outputFormat=mat