Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.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.SprayAirWasher_X,fileNamePrefix="Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X,fileNamePrefix="Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X",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.00128/0.00128, allocations: 99.08 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.001263/0.001263, allocations: 177.3 kB / 15.94 MB, free: 228 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.262/1.262, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.232/2.232, allocations: 409.2 MB / 0.6838 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003486, allocations: 8 kB / 0.8375 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5688/0.5692, allocations: 146.8 MB / 0.9809 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.1343/0.7035, allocations: 150.3 MB / 1.128 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007783/0.7114, allocations: 3.65 MB / 1.131 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009222/0.7123, allocations: 23.81 kB / 1.131 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001395/0.7137, allocations: 422.3 kB / 1.132 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002653/0.7164, allocations: 0.9971 MB / 1.133 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.7184, allocations: 0.6545 MB / 1.133 GB, free: 9.809 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001163/0.7195, allocations: 0.8234 MB / 1.134 GB, free: 8.984 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005248/0.7201, allocations: 392.4 kB / 1.134 GB, free: 8.598 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001369/0.7214, allocations: 0.7477 MB / 1.135 GB, free: 7.848 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000418/0.7219, allocations: 310.8 kB / 1.135 GB, free: 7.543 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.945e-05/0.7219, allocations: 24 kB / 1.135 GB, free: 7.52 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001552/0.7235, allocations: 0.5967 MB / 1.136 GB, free: 6.922 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.7237, allocations: 163.5 kB / 1.136 GB, free: 6.762 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.7239, allocations: 149.4 kB / 1.136 GB, free: 6.609 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.7249, allocations: 0.7093 MB / 1.137 GB, free: 5.898 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.725, allocations: 0 / 1.137 GB, free: 5.898 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.217e-06/0.725, allocations: 4 kB / 1.137 GB, free: 5.895 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.725, allocations: 0 / 1.137 GB, free: 5.895 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.002071/0.7271, allocations: 0.9078 MB / 1.138 GB, free: 4.938 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.7271, allocations: 8.031 kB / 1.138 GB, free: 4.93 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.7272, allocations: 78.53 kB / 1.138 GB, free: 4.844 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/0.7287, allocations: 234.9 kB / 1.138 GB, free: 4.613 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009564/0.7297, allocations: 0.5112 MB / 1.139 GB, free: 4.062 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.804e-05/0.7297, allocations: 29 kB / 1.139 GB, free: 4.031 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.565e-05/0.7298, allocations: 44 kB / 1.139 GB, free: 3.988 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.7309, allocations: 0.531 MB / 1.139 GB, free: 3.441 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.731, allocations: 7.875 kB / 1.139 GB, free: 3.434 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.408e-05/0.731, allocations: 16 kB / 1.139 GB, free: 3.418 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/0.731, allocations: 24.94 kB / 1.139 GB, free: 3.395 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.7322, allocations: 0.5114 MB / 1.14 GB, free: 2.883 MB / 0.8887 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.003761/0.7359, allocations: 2.211 MB / 1.142 GB, free: 496 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000779/0.7367, allocations: 335.8 kB / 1.142 GB, free: 132 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001223/0.738, allocations: 0.6 MB / 1.143 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003064/0.7383, allocations: 207.7 kB / 1.143 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=26): time 2.154e-06/0.7383, allocations: 0 / 1.143 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of matching and sorting (n=26): time 0.001085/0.7394, allocations: 434.4 kB / 1.144 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/0.7395, allocations: 106.8 kB / 1.144 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009637/0.7405, allocations: 0.6486 MB / 1.144 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.7405, allocations: 33.7 kB / 1.144 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/0.7408, allocations: 315.8 kB / 1.145 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.503e-05/0.7409, allocations: 86.75 kB / 1.145 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.133e-05/0.7409, allocations: 8 kB / 1.145 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.741, allocations: 370.8 kB / 1.145 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004143/0.7415, allocations: 131.8 kB / 1.145 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004943/0.742, allocations: 273 kB / 1.145 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004636/0.7425, allocations: 160.4 kB / 1.146 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.7425, allocations: 7.953 kB / 1.146 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009931/0.7435, allocations: 472 kB / 1.146 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.000446/0.7439, allocations: 1.574 MB / 1.148 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.7439, allocations: 4 kB / 1.148 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.744, allocations: 8 kB / 1.148 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003665/0.7443, allocations: 83.89 kB / 1.148 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.7444, allocations: 15.92 kB / 1.148 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005766/0.7449, allocations: 87.48 kB / 1.148 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/0.745, allocations: 23.94 kB / 1.148 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.624e-06/0.745, allocations: 4 kB / 1.148 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007525/0.7458, allocations: 380 kB / 1.148 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.7458, allocations: 4 kB / 1.148 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.7458, allocations: 11.95 kB / 1.148 GB, free: 9.773 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/0.7461, allocations: 92.17 kB / 1.148 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.7462, allocations: 8 kB / 1.148 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004249/0.7466, allocations: 63.73 kB / 1.148 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.7466, allocations: 20 kB / 1.148 GB, free: 9.594 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 (43): * Single equations (assignments): 43 * 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.0002368/0.7469, allocations: 295.1 kB / 1.149 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.542e-05/0.7469, allocations: 59.25 kB / 1.149 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005139/0.7475, allocations: 329 kB / 1.149 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.7475, allocations: 4 kB / 1.149 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.7475, allocations: 0 / 1.149 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.7475, allocations: 7.891 kB / 1.149 GB, free: 8.895 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.7488, allocations: 1.149 MB / 1.15 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.7488, allocations: 4 kB / 1.15 GB, free: 7.652 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.749, allocations: 39.92 kB / 1.15 GB, free: 7.613 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.749, allocations: 4.312 kB / 1.15 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.749, allocations: 12 kB / 1.15 GB, free: 7.598 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.749, allocations: 4 kB / 1.15 GB, free: 7.594 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.7491, allocations: 7.938 kB / 1.15 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005218/0.7496, allocations: 0.5773 MB / 1.151 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.7498, allocations: 168.2 kB / 1.151 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.25e-05/0.7499, allocations: 12 kB / 1.151 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003302/0.7502, allocations: 31.92 kB / 1.151 GB, free: 6.676 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.7502, allocations: 19.97 kB / 1.151 GB, free: 6.656 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.7503, allocations: 8 kB / 1.151 GB, free: 6.648 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005506/0.7508, allocations: 475 kB / 1.151 GB, free: 6.188 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7508, allocations: 0 / 1.151 GB, free: 6.188 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007447/0.7516, allocations: 267.6 kB / 1.152 GB, free: 5.926 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * 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 (25): * Single equations (assignments): 23 * 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.001829/0.7534, allocations: 2.211 MB / 1.154 GB, free: 3.789 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009536/0.7544, allocations: 0.4944 MB / 1.154 GB, free: 3.301 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.7544, allocations: 0 / 1.154 GB, free: 3.301 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.7546, allocations: 124.6 kB / 1.155 GB, free: 3.18 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.7557, allocations: 260.7 kB / 1.155 GB, free: 2.926 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005131/0.7608, allocations: 5.827 MB / 1.16 GB, free: 12.94 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.7613, allocations: 0.9097 MB / 1.161 GB, free: 12 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0006496/0.7619, allocations: 164.8 kB / 1.161 GB, free: 11.84 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/0.7622, allocations: 203.4 kB / 1.162 GB, free: 11.64 MB / 0.92 GB Notification: Performance of SimCode: time 8.62e-07/0.7622, allocations: 0 / 1.162 GB, free: 11.64 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3067/1.069, allocations: 15.37 MB / 1.177 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002628/1.069, allocations: 248.1 kB / 1.177 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.244/3.313, allocations: 0 / 1.177 GB, free: 12.32 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.fmu > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_res.mat does not exist to compare? outputFormat=mat