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.296/2.296, allocations: 390.5 MB / 398 MB, free: 10.98 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.001076/0.001076, allocations: 184.1 kB / 491.2 MB, free: 1.602 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.789/1.789, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.001019/0.00102, allocations: 95.88 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.025e-05/3.087e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.344, allocations: 143 MB / 1.212 GB, free: 39.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.577/6.921, allocations: 1.929 GB / 3.141 GB, free: 399.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004411/6.922, allocations: 95.94 kB / 3.141 GB, free: 399 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.073/11.99, allocations: 1.297 GB / 4.439 GB, free: 196 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.734e-06/11.99, allocations: 5.984 kB / 4.439 GB, free: 196 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0003131/11.99, allocations: 45.64 kB / 4.439 GB, free: 196 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.007291/12, allocations: 2.093 MB / 4.441 GB, free: 195.5 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/12, allocations: 16.61 kB / 4.441 GB, free: 195.5 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005042/12.01, allocations: 0.4892 MB / 4.441 GB, free: 195.4 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005459/12.01, allocations: 1.739 MB / 4.443 GB, free: 195.1 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-05/12.01, allocations: 41.41 kB / 4.443 GB, free: 195.1 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004383/12.01, allocations: 80.5 kB / 4.443 GB, free: 195.1 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002532/12.02, allocations: 1.159 MB / 4.444 GB, free: 195.1 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002646/12.02, allocations: 1.268 MB / 4.445 GB, free: 194.9 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.269e-05/12.02, allocations: 12.91 kB / 4.445 GB, free: 194.9 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001768/12.02, allocations: 3.969 kB / 4.445 GB, free: 194.9 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.383e-05/12.02, allocations: 42.52 kB / 4.445 GB, free: 194.9 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.009025/12.03, allocations: 6.933 MB / 4.452 GB, free: 191.1 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009176/12.03, allocations: 0.6327 MB / 4.453 GB, free: 191.1 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004044/12.03, allocations: 356.3 kB / 4.453 GB, free: 191.1 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002014/12.03, allocations: 109.4 kB / 4.453 GB, free: 191 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/12.03, allocations: 49.31 kB / 4.453 GB, free: 191 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001014/12.03, allocations: 147.6 kB / 4.453 GB, free: 191 MB / 1.182 GB Notification: Performance of pre-optimization done (n=67): time 4.068e-06/12.03, allocations: 0 / 4.453 GB, free: 191 MB / 1.182 GB Notification: Performance of matching and sorting (n=67): time 0.001323/12.03, allocations: 0.7306 MB / 4.454 GB, free: 190.9 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/12.03, allocations: 59.12 kB / 4.454 GB, free: 190.8 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/12.03, allocations: 0.9149 MB / 4.455 GB, free: 190.6 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 6.831e-05/12.03, allocations: 25.7 kB / 4.455 GB, free: 190.6 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005788/12.03, allocations: 0.7879 MB / 4.456 GB, free: 190.4 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/12.03, allocations: 236.5 kB / 4.456 GB, free: 190.2 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/12.03, allocations: 0 / 4.456 GB, free: 190.2 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001048/12.03, allocations: 338.4 kB / 4.456 GB, free: 189.9 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004154/12.03, allocations: 300.7 kB / 4.457 GB, free: 189.9 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006632/12.04, allocations: 0.6201 MB / 4.457 GB, free: 189.5 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005898/12.04, allocations: 409.4 kB / 4.458 GB, free: 189.5 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/12.04, allocations: 3.25 kB / 4.458 GB, free: 189.5 MB / 1.182 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001368/12.04, allocations: 0.9624 MB / 4.459 GB, free: 189.4 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005135/12.04, allocations: 2.484 MB / 4.461 GB, free: 186.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/12.04, allocations: 3.812 kB / 4.461 GB, free: 186.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/12.04, allocations: 11.62 kB / 4.461 GB, free: 186.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008097/12.04, allocations: 202.4 kB / 4.461 GB, free: 186.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/12.04, allocations: 13.62 kB / 4.461 GB, free: 186.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/12.04, allocations: 98.97 kB / 4.461 GB, free: 186.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.139e-05/12.04, allocations: 40.03 kB / 4.461 GB, free: 186.9 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/12.04, allocations: 3.906 kB / 4.461 GB, free: 186.9 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001093/12.04, allocations: 0.7958 MB / 4.462 GB, free: 186.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/12.04, allocations: 7.875 kB / 4.462 GB, free: 186.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/12.04, allocations: 15.5 kB / 4.462 GB, free: 186.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007104/12.04, allocations: 192.3 kB / 4.462 GB, free: 186.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/12.04, allocations: 21.06 kB / 4.462 GB, free: 186.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/12.04, allocations: 102 kB / 4.463 GB, free: 186.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.055e-05/12.04, allocations: 41.94 kB / 4.463 GB, free: 186.9 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.0002454/12.04, allocations: 130 kB / 4.463 GB, free: 186.8 MB / 1.182 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009969/12.04, allocations: 0.6977 MB / 4.463 GB, free: 186.6 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/12.05, allocations: 141.8 kB / 4.464 GB, free: 186.6 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/12.05, allocations: 0.7608 MB / 4.464 GB, free: 186.5 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/12.05, allocations: 14.31 kB / 4.464 GB, free: 186.5 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/12.05, allocations: 3.938 kB / 4.464 GB, free: 186.5 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007996/12.05, allocations: 0.7587 MB / 4.465 GB, free: 186.2 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003372/12.05, allocations: 2.132 MB / 4.467 GB, free: 185.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/12.05, allocations: 1.062 kB / 4.467 GB, free: 185.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007925/12.05, allocations: 169.9 kB / 4.467 GB, free: 185.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/12.05, allocations: 9.188 kB / 4.467 GB, free: 185.9 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-05/12.05, allocations: 11.03 kB / 4.467 GB, free: 185.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/12.05, allocations: 6.75 kB / 4.467 GB, free: 185.9 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/12.05, allocations: 4.438 kB / 4.467 GB, free: 185.9 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/12.05, allocations: 1.291 MB / 4.469 GB, free: 185.5 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005443/12.05, allocations: 306.2 kB / 4.469 GB, free: 185.3 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/12.05, allocations: 3.625 kB / 4.469 GB, free: 185.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/12.05, allocations: 88.64 kB / 4.469 GB, free: 185.3 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.532e-05/12.05, allocations: 47.88 kB / 4.469 GB, free: 185.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.393e-05/12.05, allocations: 32.59 kB / 4.469 GB, free: 185.3 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.0007831/12.06, allocations: 0.6875 MB / 4.47 GB, free: 185.2 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.7e-07/12.06, allocations: 0 / 4.47 GB, free: 185.2 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.003291/12.06, allocations: 1.052 MB / 4.471 GB, free: 185.1 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.007677/12.07, allocations: 5.647 MB / 4.476 GB, free: 182.6 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.002203/12.07, allocations: 1.203 MB / 4.477 GB, free: 182.6 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/12.07, allocations: 7.062 kB / 4.477 GB, free: 182.6 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0004146/12.07, allocations: 331.8 kB / 4.478 GB, free: 182.6 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004037/12.07, allocations: 0.7498 MB / 4.478 GB, free: 182.5 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005296/12.08, allocations: 2.628 MB / 4.481 GB, free: 181.8 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007992/12.08, allocations: 1.385 MB / 4.482 GB, free: 181.1 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.002017/12.08, allocations: 0.4946 MB / 4.483 GB, free: 181.1 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006608/12.08, allocations: 0.5802 MB / 4.483 GB, free: 181.1 MB / 1.182 GB Notification: Performance of SimCode: time 1.152e-06/12.08, allocations: 0 / 4.483 GB, free: 181.1 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1076/12.19, allocations: 61.13 MB / 4.543 GB, free: 179.4 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001421/12.19, allocations: 182.4 kB / 4.543 GB, free: 179.2 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.257/16.45, allocations: 0 / 4.543 GB, free: 179.2 MB / 1.182 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