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.001315/0.001315, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0016/0.0016, allocations: 177.3 kB / 15.95 MB, free: 216 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.323/1.323, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.448/2.448, allocations: 409.2 MB / 0.6838 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004459/0.000446, allocations: 8 kB / 0.8375 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7965/0.7969, allocations: 146.8 MB / 0.9809 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 0.1812/0.9782, allocations: 164.8 MB / 1.142 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006668/0.9849, allocations: 3.636 MB / 1.145 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007892/0.9857, allocations: 19.81 kB / 1.145 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.9871, allocations: 426.3 kB / 1.146 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002996/0.9901, allocations: 1.004 MB / 1.147 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002057/0.9922, allocations: 0.6581 MB / 1.147 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001562/0.9938, allocations: 0.8235 MB / 1.148 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006533/0.9944, allocations: 400.5 kB / 1.149 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001752/0.9962, allocations: 0.7438 MB / 1.149 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004597/0.9967, allocations: 318.7 kB / 1.15 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.951e-05/0.9967, allocations: 20 kB / 1.15 GB, free: 8.984 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001406/0.9982, allocations: 0.6045 MB / 1.15 GB, free: 8.379 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.9983, allocations: 159.5 kB / 1.15 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.9985, allocations: 145.4 kB / 1.151 GB, free: 8.074 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009124/0.9994, allocations: 0.7249 MB / 1.151 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.9994, allocations: 0 / 1.151 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.035e-06/0.9995, allocations: 7.938 kB / 1.151 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.628e-05/0.9995, allocations: 0 / 1.151 GB, free: 7.34 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.001957/1.001, allocations: 0.9117 MB / 1.152 GB, free: 6.379 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/1.001, allocations: 8.031 kB / 1.152 GB, free: 6.371 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.839e-05/1.002, allocations: 82.5 kB / 1.152 GB, free: 6.281 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/1.003, allocations: 238.9 kB / 1.152 GB, free: 6.047 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008381/1.004, allocations: 0.5112 MB / 1.153 GB, free: 5.496 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.38e-05/1.004, allocations: 33 kB / 1.153 GB, free: 5.461 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.31e-05/1.004, allocations: 43.98 kB / 1.153 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009833/1.005, allocations: 0.5473 MB / 1.154 GB, free: 4.852 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/1.005, allocations: 0 / 1.154 GB, free: 4.852 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.759e-05/1.005, allocations: 16 kB / 1.154 GB, free: 4.836 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.086e-05/1.005, allocations: 24.98 kB / 1.154 GB, free: 4.812 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/1.006, allocations: 0.5074 MB / 1.154 GB, free: 4.305 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.003023/1.009, allocations: 2.214 MB / 1.156 GB, free: 1.918 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006421/1.01, allocations: 375.9 kB / 1.157 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/1.011, allocations: 0.604 MB / 1.157 GB, free: 0.8086 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003209/1.011, allocations: 193.9 kB / 1.157 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=28): time 1.834e-06/1.011, allocations: 0 / 1.157 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28): time 0.001017/1.012, allocations: 460.5 kB / 1.158 GB, free: 144 kB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/1.012, allocations: 114.8 kB / 1.158 GB, free: 4 kB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008322/1.013, allocations: 0.6446 MB / 1.159 GB, free: 15.35 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/1.013, allocations: 33.7 kB / 1.159 GB, free: 15.31 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/1.013, allocations: 311.9 kB / 1.159 GB, free: 15 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.641e-05/1.013, allocations: 102.6 kB / 1.159 GB, free: 14.9 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/1.013, allocations: 12 kB / 1.159 GB, free: 14.89 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001778/1.014, allocations: 366.8 kB / 1.159 GB, free: 14.52 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000338/1.014, allocations: 136.8 kB / 1.16 GB, free: 14.39 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000465/1.014, allocations: 298.8 kB / 1.16 GB, free: 14.03 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003929/1.015, allocations: 169.4 kB / 1.16 GB, free: 13.87 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/1.015, allocations: 4 kB / 1.16 GB, free: 13.86 MB / 0.92 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009969/1.016, allocations: 486.4 kB / 1.16 GB, free: 13.38 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008433/1.017, allocations: 1.572 MB / 1.162 GB, free: 11.69 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.017, allocations: 11.94 kB / 1.162 GB, free: 11.68 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/1.017, allocations: 7.984 kB / 1.162 GB, free: 11.67 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004382/1.017, allocations: 95.89 kB / 1.162 GB, free: 11.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/1.017, allocations: 8 kB / 1.162 GB, free: 11.57 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006824/1.018, allocations: 83.55 kB / 1.162 GB, free: 11.48 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-05/1.018, allocations: 23.98 kB / 1.162 GB, free: 11.46 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/1.018, allocations: 4 kB / 1.162 GB, free: 11.46 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008773/1.019, allocations: 408.4 kB / 1.163 GB, free: 11.06 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.019, allocations: 8.062 kB / 1.163 GB, free: 11.05 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.022e-06/1.019, allocations: 4 kB / 1.163 GB, free: 11.05 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/1.019, allocations: 91.89 kB / 1.163 GB, free: 10.96 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/1.019, allocations: 11.92 kB / 1.163 GB, free: 10.95 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000484/1.02, allocations: 75.44 kB / 1.163 GB, free: 10.87 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.513e-05/1.02, allocations: 23.98 kB / 1.163 GB, free: 10.85 MB / 0.92 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.0003438/1.02, allocations: 290.2 kB / 1.163 GB, free: 10.55 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.754e-05/1.02, allocations: 63.25 kB / 1.163 GB, free: 10.49 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006698/1.021, allocations: 339.5 kB / 1.163 GB, free: 10.15 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.914e-06/1.021, allocations: 4 kB / 1.163 GB, free: 10.15 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/1.021, allocations: 0 / 1.163 GB, free: 10.15 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/1.021, allocations: 0 / 1.163 GB, free: 10.15 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/1.023, allocations: 1.181 MB / 1.165 GB, free: 8.879 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/1.023, allocations: 8.297 kB / 1.165 GB, free: 8.871 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/1.023, allocations: 51.88 kB / 1.165 GB, free: 8.82 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/1.023, allocations: 4 kB / 1.165 GB, free: 8.816 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/1.023, allocations: 12 kB / 1.165 GB, free: 8.805 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.84e-06/1.023, allocations: 4 kB / 1.165 GB, free: 8.801 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.064e-06/1.023, allocations: 7.922 kB / 1.165 GB, free: 8.793 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009654/1.024, allocations: 0.7195 MB / 1.165 GB, free: 7.965 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002288/1.024, allocations: 168.2 kB / 1.166 GB, free: 7.781 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-05/1.024, allocations: 16.05 kB / 1.166 GB, free: 7.766 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003534/1.025, allocations: 27.94 kB / 1.166 GB, free: 7.738 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.902e-05/1.025, allocations: 31.97 kB / 1.166 GB, free: 7.707 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/1.025, allocations: 8 kB / 1.166 GB, free: 7.699 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006665/1.026, allocations: 471 kB / 1.166 GB, free: 7.242 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.91e-07/1.026, allocations: 3.938 kB / 1.166 GB, free: 7.238 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009335/1.027, allocations: 271.6 kB / 1.166 GB, free: 6.973 MB / 0.92 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.002498/1.029, allocations: 2.382 MB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001124/1.03, allocations: 0.5235 MB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.03, allocations: 0 / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002049/1.03, allocations: 132.1 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/1.032, allocations: 265.2 kB / 1.17 GB, free: 3.762 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00611/1.038, allocations: 6.035 MB / 1.175 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/1.038, allocations: 0.9098 MB / 1.176 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0006869/1.039, allocations: 164.9 kB / 1.176 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/1.039, allocations: 199.4 kB / 1.177 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of SimCode: time 8.02e-07/1.039, allocations: 0 / 1.177 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2988/1.338, allocations: 15.75 MB / 1.192 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003458/1.338, allocations: 244.5 kB / 1.192 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.486/3.825, allocations: 1.094 kB / 1.192 GB, free: 12.6 MB / 0.9512 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