Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="Buildings_9_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="Buildings_9_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 86.33 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.542/2.542, allocations: 390.4 MB / 0.6655 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005137/0.000514, allocations: 8 kB / 0.8149 GB, free: 14.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8469/0.8474, allocations: 142.3 MB / 0.9538 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 0.209/1.056, allocations: 181.2 MB / 1.131 GB, free: 10.44 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007211/1.064, allocations: 3.519 MB / 1.134 GB, free: 6.91 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/1.065, allocations: 23.81 kB / 1.134 GB, free: 6.887 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001275/1.066, allocations: 318.3 kB / 1.135 GB, free: 6.574 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002886/1.069, allocations: 0.9293 MB / 1.135 GB, free: 5.641 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001897/1.071, allocations: 0.5751 MB / 1.136 GB, free: 5.07 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002216/1.073, allocations: 1.559 MB / 1.138 GB, free: 3.5 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000719/1.074, allocations: 380.5 kB / 1.138 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002058/1.076, allocations: 0.7858 MB / 1.139 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006615/1.077, allocations: 434.2 kB / 1.139 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.205e-05/1.077, allocations: 20 kB / 1.139 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001763/1.078, allocations: 0.8069 MB / 1.14 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001793/1.079, allocations: 175.4 kB / 1.14 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001781/1.079, allocations: 145.3 kB / 1.14 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001022/1.08, allocations: 0.8028 MB / 1.141 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/1.08, allocations: 0 / 1.141 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.893e-06/1.08, allocations: 0 / 1.141 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.926e-06/1.08, allocations: 0 / 1.141 GB, free: 15.96 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001986/1.082, allocations: 0.9468 MB / 1.142 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/1.082, allocations: 8.031 kB / 1.142 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.833e-05/1.082, allocations: 82.52 kB / 1.142 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/1.083, allocations: 227 kB / 1.142 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007533/1.084, allocations: 0.5229 MB / 1.143 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.756e-05/1.084, allocations: 40.94 kB / 1.143 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.438e-05/1.084, allocations: 40 kB / 1.143 GB, free: 14 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/1.085, allocations: 0.5513 MB / 1.143 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/1.085, allocations: 0 / 1.143 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.432e-05/1.085, allocations: 19.94 kB / 1.143 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.209e-05/1.085, allocations: 20.98 kB / 1.143 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/1.086, allocations: 0.5074 MB / 1.144 GB, free: 12.88 MB / 0.9044 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.002937/1.089, allocations: 2.226 MB / 1.146 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006265/1.09, allocations: 353.6 kB / 1.146 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002286/1.09, allocations: 148.7 kB / 1.147 GB, free: 9.961 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001242/1.091, allocations: 0.865 MB / 1.147 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000327/1.092, allocations: 209.7 kB / 1.148 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=28): time 1.773e-06/1.092, allocations: 0 / 1.148 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28): time 0.001/1.093, allocations: 455.1 kB / 1.148 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/1.093, allocations: 81.11 kB / 1.148 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008067/1.094, allocations: 0.6486 MB / 1.149 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/1.094, allocations: 29.7 kB / 1.149 GB, free: 7.469 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/1.094, allocations: 323.8 kB / 1.149 GB, free: 7.148 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.737e-05/1.094, allocations: 98.64 kB / 1.149 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.241e-05/1.094, allocations: 8 kB / 1.149 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001407/1.094, allocations: 374.7 kB / 1.149 GB, free: 6.668 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003361/1.095, allocations: 140.8 kB / 1.15 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004323/1.095, allocations: 299.5 kB / 1.15 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/1.095, allocations: 178.1 kB / 1.15 GB, free: 6.004 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.095, allocations: 0 / 1.15 GB, free: 6.004 MB / 0.9044 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009364/1.096, allocations: 496.6 kB / 1.151 GB, free: 5.512 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001423/1.096, allocations: 203.8 kB / 1.151 GB, free: 5.254 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/1.096, allocations: 4 kB / 1.151 GB, free: 5.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/1.097, allocations: 11.94 kB / 1.151 GB, free: 5.238 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004184/1.097, allocations: 87.89 kB / 1.151 GB, free: 5.152 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/1.097, allocations: 19.89 kB / 1.151 GB, free: 5.133 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005886/1.098, allocations: 91.47 kB / 1.151 GB, free: 5.043 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.374e-05/1.098, allocations: 20 kB / 1.151 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.725e-06/1.098, allocations: 4.938 kB / 1.151 GB, free: 5.02 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008375/1.098, allocations: 408.4 kB / 1.151 GB, free: 4.625 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/1.098, allocations: 8.062 kB / 1.151 GB, free: 4.617 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.031e-06/1.098, allocations: 4 kB / 1.151 GB, free: 4.613 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/1.099, allocations: 99.81 kB / 1.151 GB, free: 4.516 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/1.099, allocations: 4 kB / 1.151 GB, free: 4.512 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004419/1.099, allocations: 67.56 kB / 1.152 GB, free: 4.445 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.642e-05/1.099, allocations: 27.92 kB / 1.152 GB, free: 4.418 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.XSet.nextTimeEvent,XSet.nextTimeEvent,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.0002803/1.1, allocations: 288.9 kB / 1.152 GB, free: 4.125 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.386e-05/1.1, allocations: 59.25 kB / 1.152 GB, free: 4.066 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006029/1.1, allocations: 341.3 kB / 1.152 GB, free: 3.719 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/1.1, allocations: 4 kB / 1.152 GB, free: 3.715 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.1, allocations: 0 / 1.152 GB, free: 3.715 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/1.1, allocations: 4 kB / 1.152 GB, free: 3.711 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/1.102, allocations: 1.12 MB / 1.153 GB, free: 2.504 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/1.102, allocations: 4 kB / 1.153 GB, free: 2.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/1.102, allocations: 40.23 kB / 1.153 GB, free: 2.461 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/1.102, allocations: 8 kB / 1.153 GB, free: 2.453 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/1.102, allocations: 8 kB / 1.153 GB, free: 2.445 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.77e-06/1.102, allocations: 7.984 kB / 1.153 GB, free: 2.438 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/1.102, allocations: 7.953 kB / 1.153 GB, free: 2.43 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007857/1.103, allocations: 0.6164 MB / 1.154 GB, free: 1.766 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/1.103, allocations: 172.2 kB / 1.154 GB, free: 1.578 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.78e-05/1.103, allocations: 16.05 kB / 1.154 GB, free: 1.562 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003352/1.104, allocations: 23.98 kB / 1.154 GB, free: 1.539 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/1.104, allocations: 31.86 kB / 1.154 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/1.104, allocations: 12 kB / 1.154 GB, free: 1.496 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006082/1.104, allocations: 471 kB / 1.155 GB, free: 1.039 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.9e-07/1.104, allocations: 4 kB / 1.155 GB, free: 1.035 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008687/1.105, allocations: 271.5 kB / 1.155 GB, free: 0.7695 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (hum.outCon.T,hum.outCon.Xi) * Number of discrete variables: 3 ($whenCondition1,XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of discrete states: 2 (XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002103/1.107, allocations: 1.577 MB / 1.157 GB, free: 15.3 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0011/1.108, allocations: 0.5202 MB / 1.157 GB, free: 14.79 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.108, allocations: 384 / 1.157 GB, free: 14.79 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002297/1.109, allocations: 143.7 kB / 1.157 GB, free: 14.64 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/1.11, allocations: 263.7 kB / 1.157 GB, free: 14.39 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005325/1.115, allocations: 3.566 MB / 1.161 GB, free: 10.7 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/1.116, allocations: 0.8942 MB / 1.162 GB, free: 9.781 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007242/1.116, allocations: 172.9 kB / 1.162 GB, free: 9.609 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/1.117, allocations: 207.4 kB / 1.162 GB, free: 9.406 MB / 0.92 GB Notification: Performance of SimCode: time 9.11e-07/1.117, allocations: 0 / 1.162 GB, free: 9.406 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03024/1.147, allocations: 15.76 MB / 1.178 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/1.147, allocations: 247 kB / 1.178 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.194/3.341, allocations: 0 / 1.178 GB, free: 9.691 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.fmu > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat does not exist to compare? outputFormat=mat