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.373/2.373, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.001147/0.001146, allocations: 184.1 kB / 492.3 MB, free: 0.6055 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.66/1.66, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.001151/0.001151, allocations: 98.52 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.253e-05/3.256e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3168, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.483/5.8, allocations: 1.929 GB / 3.141 GB, free: 341.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/5.8, allocations: 88.7 kB / 3.141 GB, free: 341.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.949/10.75, allocations: 1.311 GB / 4.452 GB, free: 196.7 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.575e-06/10.75, allocations: 0 / 4.452 GB, free: 196.7 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0002636/10.75, allocations: 51.84 kB / 4.452 GB, free: 196.7 MB / 1.182 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.007203/10.76, allocations: 2.097 MB / 4.454 GB, free: 195.9 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/10.76, allocations: 11 kB / 4.454 GB, free: 195.9 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007615/10.76, allocations: 193.6 kB / 4.454 GB, free: 195.8 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005173/10.76, allocations: 499.6 kB / 4.455 GB, free: 195.7 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005629/10.77, allocations: 1.743 MB / 4.457 GB, free: 195.4 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/10.77, allocations: 102.7 kB / 4.457 GB, free: 195.4 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005173/10.77, allocations: 131.9 kB / 4.457 GB, free: 195.4 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003765/10.77, allocations: 1.538 MB / 4.458 GB, free: 195.2 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.745e-05/10.77, allocations: 7.344 kB / 4.458 GB, free: 195.2 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002234/10.77, allocations: 56.56 kB / 4.458 GB, free: 195.2 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.19e-05/10.77, allocations: 50.17 kB / 4.458 GB, free: 195.2 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002427/10.78, allocations: 1.236 MB / 4.46 GB, free: 195.2 MB / 1.182 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.01106/10.79, allocations: 7.204 MB / 4.467 GB, free: 191.4 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/10.79, allocations: 0.6571 MB / 4.467 GB, free: 191.4 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005176/10.79, allocations: 375.9 kB / 4.468 GB, free: 191.4 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002233/10.79, allocations: 112.6 kB / 4.468 GB, free: 191.3 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/10.79, allocations: 48.78 kB / 4.468 GB, free: 191.2 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001385/10.79, allocations: 162.3 kB / 4.468 GB, free: 191.2 MB / 1.182 GB Notification: Performance of pre-optimization done (n=67): time 6.753e-06/10.79, allocations: 3.188 kB / 4.468 GB, free: 191.2 MB / 1.182 GB Notification: Performance of matching and sorting (n=67): time 0.001845/10.79, allocations: 0.7791 MB / 4.469 GB, free: 191.1 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/10.79, allocations: 61.81 kB / 4.469 GB, free: 191 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002202/10.79, allocations: 1.139 MB / 4.47 GB, free: 190.9 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001673/10.79, allocations: 47.61 kB / 4.47 GB, free: 190.8 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006832/10.8, allocations: 0.7778 MB / 4.471 GB, free: 190.6 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002966/10.8, allocations: 243.5 kB / 4.471 GB, free: 190.5 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-05/10.8, allocations: 19.62 kB / 4.471 GB, free: 190.5 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001165/10.8, allocations: 339.3 kB / 4.471 GB, free: 190.2 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005586/10.8, allocations: 312.1 kB / 4.472 GB, free: 190.2 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007722/10.8, allocations: 0.6449 MB / 4.472 GB, free: 189.8 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007552/10.8, allocations: 432.5 kB / 4.473 GB, free: 189.8 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/10.8, allocations: 0 / 4.473 GB, free: 189.8 MB / 1.182 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002159/10.8, allocations: 1.054 MB / 4.474 GB, free: 189.7 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008214/10.8, allocations: 2.51 MB / 4.476 GB, free: 187.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.217e-05/10.8, allocations: 7.219 kB / 4.476 GB, free: 187.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.861e-05/10.8, allocations: 11.69 kB / 4.476 GB, free: 187.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009386/10.8, allocations: 199.8 kB / 4.476 GB, free: 187.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.779e-05/10.8, allocations: 13.5 kB / 4.476 GB, free: 187.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/10.8, allocations: 131.8 kB / 4.477 GB, free: 187.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/10.8, allocations: 41.08 kB / 4.477 GB, free: 187.1 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/10.8, allocations: 3.844 kB / 4.477 GB, free: 187.1 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001578/10.81, allocations: 0.8926 MB / 4.477 GB, free: 187.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/10.81, allocations: 9.672 kB / 4.477 GB, free: 187.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/10.81, allocations: 15.06 kB / 4.477 GB, free: 187.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007518/10.81, allocations: 196.4 kB / 4.478 GB, free: 187.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.135e-05/10.81, allocations: 14.84 kB / 4.478 GB, free: 187.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/10.81, allocations: 131.8 kB / 4.478 GB, free: 187.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.255e-05/10.81, allocations: 39.91 kB / 4.478 GB, free: 187.1 MB / 1.182 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.0002751/10.81, allocations: 160.6 kB / 4.478 GB, free: 187 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004355/10.81, allocations: 159.8 kB / 4.478 GB, free: 186.9 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/10.81, allocations: 0.8343 MB / 4.479 GB, free: 186.8 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/10.81, allocations: 3.906 kB / 4.479 GB, free: 186.8 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/10.81, allocations: 3.812 kB / 4.479 GB, free: 186.8 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008886/10.81, allocations: 0.7947 MB / 4.48 GB, free: 186.5 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004428/10.82, allocations: 2.349 MB / 4.482 GB, free: 186.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/10.82, allocations: 3.188 kB / 4.482 GB, free: 186.2 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007856/10.82, allocations: 163.3 kB / 4.482 GB, free: 186.2 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/10.82, allocations: 3.5 kB / 4.482 GB, free: 186.2 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.539e-05/10.82, allocations: 18.81 kB / 4.482 GB, free: 186.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/10.82, allocations: 10.45 kB / 4.482 GB, free: 186.2 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/10.82, allocations: 3.562 kB / 4.482 GB, free: 186.2 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/10.82, allocations: 1.363 MB / 4.484 GB, free: 185.7 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007442/10.82, allocations: 323 kB / 4.484 GB, free: 185.6 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/10.82, allocations: 17.91 kB / 4.484 GB, free: 185.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/10.82, allocations: 105.5 kB / 4.484 GB, free: 185.6 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.193e-05/10.82, allocations: 45.19 kB / 4.484 GB, free: 185.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.609e-05/10.82, allocations: 35.34 kB / 4.484 GB, free: 185.6 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001218/10.82, allocations: 0.88 MB / 4.485 GB, free: 185.4 MB / 1.182 GB Notification: Performance of sort global known variables: time 3.41e-07/10.82, allocations: 0 / 4.485 GB, free: 185.4 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.003469/10.83, allocations: 1.16 MB / 4.486 GB, free: 185.4 MB / 1.182 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.008277/10.83, allocations: 5.39 MB / 4.491 GB, free: 182.8 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.002409/10.84, allocations: 1.282 MB / 4.493 GB, free: 182.8 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/10.84, allocations: 0 / 4.493 GB, free: 182.8 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.000509/10.84, allocations: 353.2 kB / 4.493 GB, free: 182.8 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004851/10.84, allocations: 0.8835 MB / 4.494 GB, free: 182.7 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005292/10.85, allocations: 2.732 MB / 4.496 GB, free: 182.1 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000738/10.85, allocations: 1.383 MB / 4.498 GB, free: 181.3 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.002281/10.85, allocations: 0.5554 MB / 4.498 GB, free: 181.3 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006387/10.85, allocations: 0.5874 MB / 4.499 GB, free: 181.3 MB / 1.182 GB Notification: Performance of SimCode: time 1.252e-06/10.85, allocations: 2.906 kB / 4.499 GB, free: 181.3 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1447/11, allocations: 95.76 MB / 4.592 GB, free: 177.2 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001471/11, allocations: 205.3 kB / 4.593 GB, free: 177 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.337/16.33, allocations: 0 / 4.593 GB, free: 177 MB / 1.182 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