Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="Buildings_latest_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.0009017/0.0009018, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001056/0.001056, allocations: 168.7 kB / 15.95 MB, free: 200 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.424/1.424, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.532/2.532, allocations: 409.4 MB / 0.684 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003447, allocations: 11.94 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7746/0.7749, allocations: 146.8 MB / 0.9811 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 0.2048/0.9798, allocations: 181.2 MB / 1.158 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006191/0.986, allocations: 3.508 MB / 1.161 GB, free: 13.08 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005807/0.9866, allocations: 27.81 kB / 1.162 GB, free: 13.05 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009563/0.9876, allocations: 314.3 kB / 1.162 GB, free: 12.75 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002297/0.9899, allocations: 0.9215 MB / 1.163 GB, free: 11.82 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.9916, allocations: 0.5785 MB / 1.163 GB, free: 11.25 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001733/0.9933, allocations: 1.566 MB / 1.165 GB, free: 9.676 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005715/0.9939, allocations: 388.4 kB / 1.165 GB, free: 9.293 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.9955, allocations: 0.778 MB / 1.166 GB, free: 8.512 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005589/0.9961, allocations: 434.3 kB / 1.166 GB, free: 8.086 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.268e-05/0.9961, allocations: 20 kB / 1.166 GB, free: 8.066 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.9977, allocations: 0.8069 MB / 1.167 GB, free: 7.258 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001853/0.9979, allocations: 179.4 kB / 1.167 GB, free: 7.082 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.998, allocations: 145.4 kB / 1.167 GB, free: 6.934 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008883/0.9989, allocations: 0.8067 MB / 1.168 GB, free: 6.125 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.9989, allocations: 0 / 1.168 GB, free: 6.125 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9989, allocations: 0 / 1.168 GB, free: 6.125 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.999, allocations: 0 / 1.168 GB, free: 6.125 MB / 0.92 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.00188/1.001, allocations: 0.9351 MB / 1.169 GB, free: 5.141 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/1.001, allocations: 20.02 kB / 1.169 GB, free: 5.121 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.693e-05/1.001, allocations: 74.53 kB / 1.169 GB, free: 5.039 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/1.002, allocations: 235 kB / 1.169 GB, free: 4.809 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007668/1.003, allocations: 0.5151 MB / 1.17 GB, free: 4.254 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.761e-05/1.003, allocations: 29 kB / 1.17 GB, free: 4.223 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.175e-05/1.003, allocations: 40 kB / 1.17 GB, free: 4.184 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/1.004, allocations: 0.5552 MB / 1.171 GB, free: 3.609 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/1.004, allocations: 0 / 1.171 GB, free: 3.609 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.669e-05/1.004, allocations: 23.92 kB / 1.171 GB, free: 3.586 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.677e-05/1.004, allocations: 13 kB / 1.171 GB, free: 3.574 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/1.005, allocations: 0.5114 MB / 1.171 GB, free: 3.062 MB / 0.92 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.003028/1.008, allocations: 2.238 MB / 1.173 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006312/1.009, allocations: 355.9 kB / 1.174 GB, free: 284 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/1.009, allocations: 144.8 kB / 1.174 GB, free: 136 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001312/1.011, allocations: 0.865 MB / 1.175 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003254/1.011, allocations: 200.9 kB / 1.175 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=28): time 1.894e-06/1.011, allocations: 0 / 1.175 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28): time 0.001038/1.012, allocations: 453.2 kB / 1.175 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/1.012, allocations: 85.05 kB / 1.175 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008385/1.013, allocations: 0.6563 MB / 1.176 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/1.013, allocations: 33.7 kB / 1.176 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/1.013, allocations: 311.9 kB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.408e-05/1.013, allocations: 94.64 kB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.37e-05/1.013, allocations: 12 kB / 1.176 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001485/1.014, allocations: 366.8 kB / 1.177 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003361/1.014, allocations: 144.8 kB / 1.177 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004421/1.014, allocations: 298.3 kB / 1.177 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003749/1.015, allocations: 173.4 kB / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/1.015, allocations: 4 kB / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009959/1.016, allocations: 494.6 kB / 1.178 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.000131/1.016, allocations: 207.6 kB / 1.178 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/1.016, allocations: 4 kB / 1.178 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/1.016, allocations: 8 kB / 1.178 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004364/1.016, allocations: 99.83 kB / 1.178 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/1.016, allocations: 7.984 kB / 1.178 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005931/1.017, allocations: 87.48 kB / 1.178 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/1.017, allocations: 20 kB / 1.178 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.742e-06/1.017, allocations: 4 kB / 1.178 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008426/1.018, allocations: 416.3 kB / 1.179 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/1.018, allocations: 7.938 kB / 1.179 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/1.018, allocations: 8 kB / 1.179 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003736/1.018, allocations: 87.89 kB / 1.179 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/1.018, allocations: 11.94 kB / 1.179 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004431/1.019, allocations: 71.67 kB / 1.179 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/1.019, allocations: 23.95 kB / 1.179 GB, free: 10.59 MB / 0.9356 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.0003094/1.019, allocations: 285 kB / 1.179 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.031e-05/1.019, allocations: 67.19 kB / 1.179 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006829/1.02, allocations: 341.2 kB / 1.18 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/1.02, allocations: 4 kB / 1.18 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/1.02, allocations: 0 / 1.18 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/1.02, allocations: 0 / 1.18 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/1.021, allocations: 1.124 MB / 1.181 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/1.021, allocations: 4.031 kB / 1.181 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/1.022, allocations: 43.92 kB / 1.181 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/1.022, allocations: 7.984 kB / 1.181 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/1.022, allocations: 8 kB / 1.181 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/1.022, allocations: 7.938 kB / 1.181 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.022, allocations: 4 kB / 1.181 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008209/1.023, allocations: 0.6202 MB / 1.181 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/1.023, allocations: 172.3 kB / 1.181 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.605e-05/1.023, allocations: 8 kB / 1.181 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003391/1.023, allocations: 27.97 kB / 1.181 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.767e-05/1.023, allocations: 19.98 kB / 1.182 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-05/1.023, allocations: 12 kB / 1.182 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006881/1.024, allocations: 479 kB / 1.182 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.773e-06/1.024, allocations: 0 / 1.182 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000989/1.025, allocations: 283.5 kB / 1.182 GB, free: 6.938 MB / 0.9356 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.002306/1.027, allocations: 1.569 MB / 1.184 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001157/1.028, allocations: 0.5252 MB / 1.184 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.028, allocations: 4.188 kB / 1.184 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002148/1.029, allocations: 131.8 kB / 1.184 GB, free: 4.828 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/1.03, allocations: 277.2 kB / 1.185 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005876/1.036, allocations: 3.558 MB / 1.188 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005133/1.036, allocations: 0.8903 MB / 1.189 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0007308/1.037, allocations: 172.9 kB / 1.189 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/1.037, allocations: 207.3 kB / 1.189 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of SimCode: time 8.01e-07/1.037, allocations: 0 / 1.189 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02963/1.067, allocations: 15.77 MB / 1.205 GB, free: 160 kB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/1.067, allocations: 250.1 kB / 1.205 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.24/3.307, allocations: 3.938 kB / 1.205 GB, free: 15.81 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.fmu > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat does not exist to compare? outputFormat=mat