Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6911/0.6911, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009987/0.0009987, allocations: 183.3 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.206/1.206, allocations: 221.3 MB / 441.4 MB, free: 4.613 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000774/0.0007741, allocations: 94.86 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001668/0.001668, allocations: 286.5 kB / 0.594 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.959e-05/2.961e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3336, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.573/3.907, allocations: 1.848 GB / 2.612 GB, free: 159 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/3.907, allocations: 84.11 kB / 2.612 GB, free: 159 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.028/6.935, allocations: 0.9747 GB / 3.587 GB, free: 154 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.764e-06/6.935, allocations: 0.6562 kB / 3.587 GB, free: 154 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.169e-05/6.935, allocations: 17.64 kB / 3.587 GB, free: 154 MB / 0.7136 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.002641/6.938, allocations: 1.042 MB / 3.588 GB, free: 153.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/6.938, allocations: 9.656 kB / 3.588 GB, free: 153.6 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001069/6.938, allocations: 76.38 kB / 3.588 GB, free: 153.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/6.939, allocations: 222.2 kB / 3.588 GB, free: 153.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002562/6.942, allocations: 0.8956 MB / 3.589 GB, free: 153.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.253e-05/6.942, allocations: 34.62 kB / 3.589 GB, free: 153.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.058e-05/6.942, allocations: 38.22 kB / 3.589 GB, free: 153.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009051/6.943, allocations: 491.1 kB / 3.59 GB, free: 153.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/6.943, allocations: 6.938 kB / 3.59 GB, free: 153.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.843e-05/6.943, allocations: 16.5 kB / 3.59 GB, free: 153.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.086e-05/6.943, allocations: 12.94 kB / 3.59 GB, free: 153.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00071/6.944, allocations: 387.6 kB / 3.59 GB, free: 153.2 MB / 0.7136 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.002904/6.947, allocations: 2.164 MB / 3.592 GB, free: 152 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005606/6.947, allocations: 258.3 kB / 3.592 GB, free: 152 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/6.947, allocations: 130.5 kB / 3.592 GB, free: 152 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008228/6.948, allocations: 0.8168 MB / 3.593 GB, free: 151.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002735/6.949, allocations: 198.2 kB / 3.593 GB, free: 151.1 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=26): time 2.234e-06/6.949, allocations: 0 / 3.593 GB, free: 151.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=26): time 0.000746/6.949, allocations: 348.9 kB / 3.594 GB, free: 151 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/6.949, allocations: 109.5 kB / 3.594 GB, free: 150.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005213/6.95, allocations: 0.546 MB / 3.594 GB, free: 150.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/6.95, allocations: 33.33 kB / 3.594 GB, free: 150.7 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/6.95, allocations: 327.8 kB / 3.595 GB, free: 150.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.408e-05/6.95, allocations: 96.73 kB / 3.595 GB, free: 150.6 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.676e-05/6.95, allocations: 6.938 kB / 3.595 GB, free: 150.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.461e-05/6.95, allocations: 370.7 kB / 3.595 GB, free: 150.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/6.95, allocations: 106.9 kB / 3.595 GB, free: 150.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/6.951, allocations: 303.3 kB / 3.596 GB, free: 150 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/6.951, allocations: 162 kB / 3.596 GB, free: 150 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/6.951, allocations: 2.375 kB / 3.596 GB, free: 150 MB / 0.7136 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006054/6.952, allocations: 443.7 kB / 3.596 GB, free: 150 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000284/6.952, allocations: 1.838 MB / 3.598 GB, free: 148.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/6.952, allocations: 5.281 kB / 3.598 GB, free: 148.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/6.952, allocations: 10.16 kB / 3.598 GB, free: 148.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003132/6.952, allocations: 93.98 kB / 3.598 GB, free: 148.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/6.952, allocations: 11.59 kB / 3.598 GB, free: 148.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003648/6.953, allocations: 59.02 kB / 3.598 GB, free: 148 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/6.953, allocations: 32.7 kB / 3.598 GB, free: 148 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.891e-06/6.953, allocations: 3.938 kB / 3.598 GB, free: 148 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004445/6.953, allocations: 367.4 kB / 3.598 GB, free: 148 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/6.953, allocations: 7.891 kB / 3.599 GB, free: 148 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.191e-06/6.953, allocations: 7.781 kB / 3.599 GB, free: 148 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/6.953, allocations: 79.61 kB / 3.599 GB, free: 148 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/6.953, allocations: 9.938 kB / 3.599 GB, free: 148 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/6.954, allocations: 51.34 kB / 3.599 GB, free: 148 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/6.954, allocations: 26.02 kB / 3.599 GB, free: 148 MB / 0.7136 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 (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 8.579e-05/6.954, allocations: 139.1 kB / 3.599 GB, free: 147.9 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.117e-05/6.954, allocations: 61.12 kB / 3.599 GB, free: 147.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004746/6.954, allocations: 317.8 kB / 3.599 GB, free: 147.8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/6.954, allocations: 3.75 kB / 3.599 GB, free: 147.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/6.954, allocations: 3.75 kB / 3.599 GB, free: 147.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/6.954, allocations: 6.125 kB / 3.599 GB, free: 147.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/6.956, allocations: 1.172 MB / 3.6 GB, free: 147.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/6.956, allocations: 3.906 kB / 3.6 GB, free: 147.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/6.956, allocations: 44.58 kB / 3.6 GB, free: 147.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/6.956, allocations: 3.844 kB / 3.6 GB, free: 147.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/6.956, allocations: 7.75 kB / 3.6 GB, free: 147.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/6.956, allocations: 7.094 kB / 3.6 GB, free: 147.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/6.956, allocations: 4.984 kB / 3.6 GB, free: 147.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005989/6.956, allocations: 0.7192 MB / 3.601 GB, free: 146.9 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001827/6.957, allocations: 175.4 kB / 3.601 GB, free: 146.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.923e-05/6.957, allocations: 14.94 kB / 3.601 GB, free: 146.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/6.957, allocations: 19.8 kB / 3.601 GB, free: 146.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.953e-05/6.957, allocations: 23.42 kB / 3.601 GB, free: 146.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/6.957, allocations: 7.75 kB / 3.601 GB, free: 146.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003517/6.957, allocations: 440 kB / 3.602 GB, free: 146.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.9e-07/6.957, allocations: 7.438 kB / 3.602 GB, free: 146.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001112/6.959, allocations: 418.2 kB / 3.602 GB, free: 146.7 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (hum.outCon.Xi) * 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 (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.002777/6.961, allocations: 3.446 MB / 3.606 GB, free: 144.9 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006477/6.962, allocations: 0.4942 MB / 3.606 GB, free: 144.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/6.962, allocations: 0 / 3.606 GB, free: 144.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/6.962, allocations: 127.8 kB / 3.606 GB, free: 144.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/6.963, allocations: 262.5 kB / 3.606 GB, free: 144.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003637/6.967, allocations: 1.793 MB / 3.608 GB, free: 144.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/6.967, allocations: 0.9097 MB / 3.609 GB, free: 143.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007062/6.968, allocations: 235.2 kB / 3.609 GB, free: 143.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/6.968, allocations: 199.2 kB / 3.609 GB, free: 143.8 MB / 0.7136 GB Notification: Performance of SimCode: time 3.21e-07/6.968, allocations: 0 / 3.609 GB, free: 143.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05282/7.021, allocations: 41.34 MB / 3.65 GB, free: 143.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001391/7.021, allocations: 216.4 kB / 3.65 GB, free: 143.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.933/9.954, allocations: 3.844 kB / 3.65 GB, free: 143.1 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.fmu > BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1)