Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X.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,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SprayAirWasher_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SprayAirWasher_X",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.9822/0.9822, allocations: 143.4 MB / 158.3 MB, free: 5.746 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 177.1 kB / 191.5 MB, free: 5.742 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.403/1.403, allocations: 223.2 MB / 447.7 MB, free: 4.77 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.0009088/0.0009088, allocations: 84.33 kB / 0.5187 GB, free: 1.133 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001775/0.001775, allocations: 279.3 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005277/0.0005278, allocations: 10.59 kB / 0.6929 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1473, allocations: 82.79 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.361/4.508, allocations: 1.848 GB / 2.621 GB, free: 178.9 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/4.508, allocations: 88.2 kB / 2.621 GB, free: 178.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.203/6.712, allocations: 0.6052 GB / 3.227 GB, free: 138.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.803e-06/6.712, allocations: 0 / 3.227 GB, free: 138.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.801e-05/6.712, allocations: 24.12 kB / 3.227 GB, free: 138.2 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.003405/6.715, allocations: 1.145 MB / 3.228 GB, free: 137.4 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/6.715, allocations: 14.11 kB / 3.228 GB, free: 137.4 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/6.715, allocations: 76.62 kB / 3.228 GB, free: 137.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/6.717, allocations: 222.3 kB / 3.228 GB, free: 137.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00234/6.719, allocations: 0.9032 MB / 3.229 GB, free: 136.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/6.719, allocations: 27.47 kB / 3.229 GB, free: 136.6 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.121e-05/6.719, allocations: 42.19 kB / 3.229 GB, free: 136.6 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008481/6.72, allocations: 0.4978 MB / 3.23 GB, free: 136.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/6.72, allocations: 3.938 kB / 3.23 GB, free: 136.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.46e-05/6.72, allocations: 19.83 kB / 3.23 GB, free: 136.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/6.72, allocations: 12.81 kB / 3.23 GB, free: 136.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007918/6.721, allocations: 420.2 kB / 3.23 GB, free: 136 MB / 0.7136 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.002561/6.724, allocations: 2.131 MB / 3.232 GB, free: 134.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005107/6.724, allocations: 264.5 kB / 3.232 GB, free: 134.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009144/6.725, allocations: 0.8194 MB / 3.233 GB, free: 133.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002663/6.725, allocations: 192 kB / 3.233 GB, free: 132.9 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=25): time 2.014e-06/6.725, allocations: 0 / 3.233 GB, free: 132.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25): time 0.0009111/6.726, allocations: 437 kB / 3.234 GB, free: 132.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/6.726, allocations: 110.8 kB / 3.234 GB, free: 132.4 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005678/6.727, allocations: 0.5463 MB / 3.234 GB, free: 131.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/6.727, allocations: 33.69 kB / 3.234 GB, free: 131.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/6.727, allocations: 331.5 kB / 3.235 GB, free: 131.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.3e-05/6.727, allocations: 84.86 kB / 3.235 GB, free: 131.4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.817e-05/6.727, allocations: 8 kB / 3.235 GB, free: 131.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001089/6.727, allocations: 374.7 kB / 3.235 GB, free: 131 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/6.727, allocations: 104.7 kB / 3.235 GB, free: 130.9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/6.728, allocations: 297.1 kB / 3.236 GB, free: 130.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/6.728, allocations: 155 kB / 3.236 GB, free: 130.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/6.728, allocations: 0 / 3.236 GB, free: 130.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005933/6.729, allocations: 450.5 kB / 3.236 GB, free: 129.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000459/6.729, allocations: 1.832 MB / 3.238 GB, free: 128 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/6.729, allocations: 8 kB / 3.238 GB, free: 127.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/6.729, allocations: 4 kB / 3.238 GB, free: 127.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/6.729, allocations: 87.83 kB / 3.238 GB, free: 127.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/6.729, allocations: 8.094 kB / 3.238 GB, free: 127.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004007/6.73, allocations: 62.14 kB / 3.238 GB, free: 127.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.813e-05/6.73, allocations: 23.98 kB / 3.238 GB, free: 127.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.725e-06/6.73, allocations: 4 kB / 3.238 GB, free: 127.8 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005026/6.73, allocations: 363.6 kB / 3.238 GB, free: 127.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/6.73, allocations: 4 kB / 3.238 GB, free: 127.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.735e-06/6.73, allocations: 8 kB / 3.238 GB, free: 127.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/6.731, allocations: 82.3 kB / 3.239 GB, free: 127.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/6.731, allocations: 19.2 kB / 3.239 GB, free: 127.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003114/6.731, allocations: 51.53 kB / 3.239 GB, free: 127.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/6.731, allocations: 23.98 kB / 3.239 GB, free: 127.2 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 () * Number of clocked 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.0002546/6.731, allocations: 296.9 kB / 3.239 GB, free: 126.9 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.825e-05/6.731, allocations: 63.23 kB / 3.239 GB, free: 126.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000543/6.732, allocations: 310.3 kB / 3.239 GB, free: 126.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/6.732, allocations: 4 kB / 3.239 GB, free: 126.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/6.732, allocations: 0 / 3.239 GB, free: 126.6 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/6.732, allocations: 6.484 kB / 3.239 GB, free: 126.6 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/6.734, allocations: 1.158 MB / 3.24 GB, free: 125.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/6.734, allocations: 7.406 kB / 3.24 GB, free: 125.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/6.734, allocations: 47.91 kB / 3.24 GB, free: 125.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/6.734, allocations: 7.953 kB / 3.24 GB, free: 125.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/6.734, allocations: 8 kB / 3.24 GB, free: 125.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/6.734, allocations: 4 kB / 3.24 GB, free: 125.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/6.734, allocations: 11.92 kB / 3.24 GB, free: 125.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006175/6.734, allocations: 0.5717 MB / 3.241 GB, free: 124.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/6.735, allocations: 172.2 kB / 3.241 GB, free: 124.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.561e-05/6.735, allocations: 8.531 kB / 3.241 GB, free: 124.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/6.735, allocations: 15.94 kB / 3.241 GB, free: 124.4 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.785e-05/6.735, allocations: 30.89 kB / 3.241 GB, free: 124.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/6.735, allocations: 8 kB / 3.241 GB, free: 124.3 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004465/6.736, allocations: 447 kB / 3.242 GB, free: 123.9 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/6.736, allocations: 2.844 kB / 3.242 GB, free: 123.9 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001676/6.737, allocations: 412.9 kB / 3.242 GB, free: 123.5 MB / 0.7136 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) * Number of clocked states: 0 () * 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.003914/6.741, allocations: 3.356 MB / 3.245 GB, free: 120.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007772/6.742, allocations: 473.5 kB / 3.246 GB, free: 120.1 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/6.742, allocations: 0 / 3.246 GB, free: 120.1 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001946/6.742, allocations: 137.2 kB / 3.246 GB, free: 120 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/6.743, allocations: 260.1 kB / 3.246 GB, free: 119.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00747/6.751, allocations: 7.073 MB / 3.253 GB, free: 112.6 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/6.751, allocations: 0.9059 MB / 3.254 GB, free: 111.7 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0006814/6.752, allocations: 176.4 kB / 3.254 GB, free: 111.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/6.752, allocations: 207.4 kB / 3.254 GB, free: 111.3 MB / 0.7136 GB Notification: Performance of SimCode: time 1.492e-06/6.752, allocations: 4 kB / 3.254 GB, free: 111.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05792/6.81, allocations: 36.43 MB / 3.29 GB, free: 75.26 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/6.81, allocations: 241.4 kB / 3.29 GB, free: 75.02 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.763/10.57, allocations: 0 / 3.29 GB, free: 75.02 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SprayAirWasher_X_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SprayAirWasher_X.fmu > BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1)