Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X,fileNamePrefix="Buildings_9_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X,fileNamePrefix="Buildings_9_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.443/2.443, allocations: 387.4 MB / 394.9 MB, free: 13.31 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.001314/0.001314, allocations: 192.6 kB / 487.4 MB, free: 5.016 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.584/1.584, allocations: 221.5 MB / 0.7824 GB, free: 0.9023 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001232, allocations: 103.6 kB / 0.9219 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.284e-05/2.257e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2819, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.482/5.764, allocations: 1.886 GB / 3.092 GB, free: 358.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/5.764, allocations: 86.89 kB / 3.092 GB, free: 358.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.969/7.733, allocations: 0.5977 GB / 3.69 GB, free: 251.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.563e-06/7.734, allocations: 0 / 3.69 GB, free: 251.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001264/7.734, allocations: 19.52 kB / 3.69 GB, free: 251.8 MB / 1.151 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.003843/7.738, allocations: 1.042 MB / 3.691 GB, free: 250.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/7.738, allocations: 8.031 kB / 3.691 GB, free: 250.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/7.739, allocations: 218.9 kB / 3.691 GB, free: 250.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002631/7.742, allocations: 0.8801 MB / 3.692 GB, free: 249.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/7.742, allocations: 12 kB / 3.692 GB, free: 249.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/7.742, allocations: 27.98 kB / 3.692 GB, free: 249.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006491/7.742, allocations: 336.2 kB / 3.692 GB, free: 249.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006949/7.743, allocations: 438.9 kB / 3.693 GB, free: 248.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/7.743, allocations: 0 / 3.693 GB, free: 248.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.04e-05/7.743, allocations: 0 / 3.693 GB, free: 248.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.468e-05/7.743, allocations: 16.77 kB / 3.693 GB, free: 248.8 MB / 1.151 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.002783/7.746, allocations: 2.047 MB / 3.695 GB, free: 246.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004344/7.747, allocations: 238.2 kB / 3.695 GB, free: 246.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/7.747, allocations: 112.8 kB / 3.695 GB, free: 246.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008743/7.748, allocations: 0.8219 MB / 3.696 GB, free: 245.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002443/7.748, allocations: 190.1 kB / 3.696 GB, free: 245.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 1.813e-06/7.748, allocations: 0 / 3.696 GB, free: 245.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.003659/7.752, allocations: 0.8284 MB / 3.697 GB, free: 244.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/7.752, allocations: 114.7 kB / 3.697 GB, free: 244.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006196/7.752, allocations: 446.2 kB / 3.698 GB, free: 243.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.588e-05/7.752, allocations: 29.7 kB / 3.698 GB, free: 243.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/7.752, allocations: 335.6 kB / 3.698 GB, free: 243.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.397e-05/7.753, allocations: 82.88 kB / 3.698 GB, free: 243.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.78e-05/7.753, allocations: 0 / 3.698 GB, free: 243.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.973e-05/7.753, allocations: 370.7 kB / 3.698 GB, free: 242.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/7.753, allocations: 96.7 kB / 3.698 GB, free: 242.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/7.753, allocations: 272.7 kB / 3.699 GB, free: 242.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002937/7.756, allocations: 0.6572 MB / 3.699 GB, free: 241.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/7.756, allocations: 0 / 3.699 GB, free: 241.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.003328/7.759, allocations: 0.8877 MB / 3.7 GB, free: 240.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004196/7.76, allocations: 1.837 MB / 3.702 GB, free: 238.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/7.76, allocations: 8 kB / 3.702 GB, free: 238.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.729e-05/7.76, allocations: 4 kB / 3.702 GB, free: 238.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/7.76, allocations: 87.83 kB / 3.702 GB, free: 238.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/7.76, allocations: 8 kB / 3.702 GB, free: 238.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004723/7.761, allocations: 39.67 kB / 3.702 GB, free: 238.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.05e-05/7.761, allocations: 27.98 kB / 3.702 GB, free: 238.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/7.761, allocations: 6.188 kB / 3.702 GB, free: 238.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003154/7.764, allocations: 0.8122 MB / 3.703 GB, free: 237.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/7.764, allocations: 4 kB / 3.703 GB, free: 237.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/7.764, allocations: 8 kB / 3.703 GB, free: 237.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/7.764, allocations: 83.83 kB / 3.703 GB, free: 237.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/7.764, allocations: 8 kB / 3.703 GB, free: 237.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003975/7.765, allocations: 36.23 kB / 3.703 GB, free: 237.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.326e-05/7.765, allocations: 23.45 kB / 3.703 GB, free: 237.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0001345/7.765, allocations: 130.2 kB / 3.703 GB, free: 237.6 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00319/7.768, allocations: 0.7854 MB / 3.704 GB, free: 236.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.509e-05/7.768, allocations: 63.28 kB / 3.704 GB, free: 236.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003217/7.771, allocations: 0.7905 MB / 3.705 GB, free: 235.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/7.771, allocations: 4.281 kB / 3.705 GB, free: 235.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/7.771, allocations: 0 / 3.705 GB, free: 235.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/7.771, allocations: 3.984 kB / 3.705 GB, free: 235.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00413/7.776, allocations: 1.586 MB / 3.706 GB, free: 234.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.335e-06/7.776, allocations: 7.984 kB / 3.706 GB, free: 234.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/7.776, allocations: 39.92 kB / 3.706 GB, free: 234.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.739e-06/7.776, allocations: 7.953 kB / 3.706 GB, free: 234.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/7.776, allocations: 15.98 kB / 3.706 GB, free: 234.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/7.776, allocations: 4 kB / 3.706 GB, free: 234.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/7.776, allocations: 4.094 kB / 3.706 GB, free: 234.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003265/7.779, allocations: 1.065 MB / 3.707 GB, free: 233 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000238/7.779, allocations: 160.3 kB / 3.708 GB, free: 232.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/7.78, allocations: 7.984 kB / 3.708 GB, free: 232.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002922/7.78, allocations: 11.91 kB / 3.708 GB, free: 232.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.842e-05/7.78, allocations: 35.86 kB / 3.708 GB, free: 232.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/7.78, allocations: 8 kB / 3.708 GB, free: 232.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003797/7.78, allocations: 350.9 kB / 3.708 GB, free: 232.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/7.78, allocations: 0 / 3.708 GB, free: 232.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001371/7.782, allocations: 375 kB / 3.708 GB, free: 232.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of discrete states: 2 (XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * 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.006024/7.788, allocations: 3.939 MB / 3.712 GB, free: 228.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007282/7.789, allocations: 444 kB / 3.713 GB, free: 227.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/7.789, allocations: 0 / 3.713 GB, free: 227.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/7.789, allocations: 118.1 kB / 3.713 GB, free: 227.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/7.79, allocations: 199.3 kB / 3.713 GB, free: 227.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004361/7.794, allocations: 1.672 MB / 3.715 GB, free: 225.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/7.794, allocations: 0.9061 MB / 3.715 GB, free: 224.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007845/7.795, allocations: 208.4 kB / 3.716 GB, free: 224.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/7.796, allocations: 191.4 kB / 3.716 GB, free: 224.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.022e-06/7.796, allocations: 4 kB / 3.716 GB, free: 224.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05067/7.846, allocations: 24.15 MB / 3.739 GB, free: 200.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/7.846, allocations: 176.9 kB / 3.74 GB, free: 200.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.91/10.76, allocations: 3.875 kB / 3.74 GB, free: 200.3 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.fmu > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_res.mat does not exist to compare? outputFormat=mat