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.7344/0.7344, 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.0009444/0.0009444, allocations: 186.9 kB / 187.3 MB, free: 11.89 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.259/1.259, allocations: 221.3 MB / 441.4 MB, free: 4.598 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.0008124/0.0008123, allocations: 94.59 kB / 0.5124 GB, free: 24.3 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001682/0.001682, allocations: 271.1 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.686e-05/2.698e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3629, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.628/3.991, allocations: 1.848 GB / 2.612 GB, free: 158.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/3.991, allocations: 82.52 kB / 2.612 GB, free: 158.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.64/5.631, allocations: 0.6047 GB / 3.217 GB, free: 86.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.333e-06/5.631, allocations: 0 / 3.217 GB, free: 86.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.82e-05/5.631, allocations: 23.98 kB / 3.217 GB, free: 86.55 MB / 0.698 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.002727/5.634, allocations: 1.043 MB / 3.218 GB, free: 85.47 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/5.634, allocations: 8.031 kB / 3.218 GB, free: 85.46 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001198/5.634, allocations: 82.52 kB / 3.218 GB, free: 85.37 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/5.635, allocations: 210.9 kB / 3.218 GB, free: 85.16 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002157/5.638, allocations: 0.8916 MB / 3.219 GB, free: 84.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/5.638, allocations: 32.78 kB / 3.219 GB, free: 84.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-05/5.638, allocations: 43.95 kB / 3.219 GB, free: 84.15 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006417/5.638, allocations: 492.5 kB / 3.219 GB, free: 83.65 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/5.638, allocations: 0 / 3.219 GB, free: 83.65 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.817e-05/5.638, allocations: 15.98 kB / 3.219 GB, free: 83.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/5.638, allocations: 16.78 kB / 3.219 GB, free: 83.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005296/5.639, allocations: 379 kB / 3.22 GB, free: 83.25 MB / 0.698 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.002209/5.641, allocations: 2.14 MB / 3.222 GB, free: 80.94 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/5.642, allocations: 250.6 kB / 3.222 GB, free: 80.68 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/5.642, allocations: 125.8 kB / 3.222 GB, free: 80.56 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007381/5.642, allocations: 0.8157 MB / 3.223 GB, free: 79.58 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002146/5.643, allocations: 201.2 kB / 3.223 GB, free: 79.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 1.593e-06/5.643, allocations: 0 / 3.223 GB, free: 79.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.0006747/5.643, allocations: 333.7 kB / 3.224 GB, free: 79.03 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/5.643, allocations: 114.8 kB / 3.224 GB, free: 78.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005288/5.644, allocations: 0.5424 MB / 3.224 GB, free: 78.34 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/5.644, allocations: 33.7 kB / 3.224 GB, free: 78.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/5.644, allocations: 331.7 kB / 3.225 GB, free: 77.97 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.958e-05/5.644, allocations: 78.86 kB / 3.225 GB, free: 77.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.681e-05/5.644, allocations: 8 kB / 3.225 GB, free: 77.89 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.86e-05/5.644, allocations: 374.7 kB / 3.225 GB, free: 77.51 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/5.645, allocations: 108.6 kB / 3.225 GB, free: 77.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/5.645, allocations: 297.9 kB / 3.225 GB, free: 77.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/5.645, allocations: 156.9 kB / 3.225 GB, free: 76.87 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/5.645, allocations: 0 / 3.225 GB, free: 76.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000556/5.645, allocations: 433.7 kB / 3.226 GB, free: 76.44 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003043/5.646, allocations: 1.833 MB / 3.228 GB, free: 74.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/5.646, allocations: 11.98 kB / 3.228 GB, free: 74.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/5.646, allocations: 8 kB / 3.228 GB, free: 74.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/5.646, allocations: 79.84 kB / 3.228 GB, free: 74.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/5.646, allocations: 11.98 kB / 3.228 GB, free: 74.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003603/5.647, allocations: 55.52 kB / 3.228 GB, free: 74.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-05/5.647, allocations: 24 kB / 3.228 GB, free: 74.28 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.075e-06/5.647, allocations: 4 kB / 3.228 GB, free: 74.27 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004439/5.647, allocations: 357.3 kB / 3.228 GB, free: 73.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/5.647, allocations: 16.11 kB / 3.228 GB, free: 73.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.214e-06/5.647, allocations: 4 kB / 3.228 GB, free: 73.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/5.647, allocations: 75.91 kB / 3.228 GB, free: 73.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/5.647, allocations: 15.92 kB / 3.228 GB, free: 73.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/5.648, allocations: 55.58 kB / 3.228 GB, free: 73.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/5.648, allocations: 20 kB / 3.228 GB, free: 73.75 MB / 0.698 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 8.342e-05/5.648, allocations: 139 kB / 3.229 GB, free: 73.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.531e-05/5.648, allocations: 67.25 kB / 3.229 GB, free: 73.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004405/5.648, allocations: 309.4 kB / 3.229 GB, free: 73.23 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/5.648, allocations: 4 kB / 3.229 GB, free: 73.22 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/5.648, allocations: 0 / 3.229 GB, free: 73.22 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/5.648, allocations: 4 kB / 3.229 GB, free: 73.22 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/5.649, allocations: 1.154 MB / 3.23 GB, free: 71.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/5.65, allocations: 4 kB / 3.23 GB, free: 71.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/5.65, allocations: 43.91 kB / 3.23 GB, free: 71.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/5.65, allocations: 7.953 kB / 3.23 GB, free: 71.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/5.65, allocations: 11.98 kB / 3.23 GB, free: 71.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/5.65, allocations: 7.938 kB / 3.23 GB, free: 71.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/5.65, allocations: 4 kB / 3.23 GB, free: 71.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004153/5.65, allocations: 0.5666 MB / 3.231 GB, free: 71.24 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/5.65, allocations: 168.2 kB / 3.231 GB, free: 71.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.652e-05/5.65, allocations: 12.19 kB / 3.231 GB, free: 71.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/5.651, allocations: 19.98 kB / 3.231 GB, free: 71.02 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/5.651, allocations: 27.91 kB / 3.231 GB, free: 71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/5.651, allocations: 8 kB / 3.231 GB, free: 70.99 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003841/5.651, allocations: 443.1 kB / 3.231 GB, free: 70.56 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.41e-07/5.651, allocations: 0 / 3.231 GB, free: 70.56 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001083/5.652, allocations: 423.5 kB / 3.232 GB, free: 70.14 MB / 0.698 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.002658/5.655, allocations: 3.296 MB / 3.235 GB, free: 66.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006244/5.656, allocations: 473 kB / 3.235 GB, free: 66.38 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/5.656, allocations: 3.938 kB / 3.235 GB, free: 66.38 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/5.656, allocations: 126.9 kB / 3.236 GB, free: 66.26 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/5.657, allocations: 268 kB / 3.236 GB, free: 66 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003558/5.66, allocations: 1.722 MB / 3.237 GB, free: 64.21 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/5.661, allocations: 0.9099 MB / 3.238 GB, free: 63.28 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007348/5.661, allocations: 228.8 kB / 3.239 GB, free: 63.05 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/5.662, allocations: 199.4 kB / 3.239 GB, free: 62.86 MB / 0.698 GB Notification: Performance of SimCode: time 5.01e-07/5.662, allocations: 0 / 3.239 GB, free: 62.86 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0504/5.712, allocations: 41.1 MB / 3.279 GB, free: 21.96 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001173/5.712, allocations: 201.8 kB / 3.279 GB, free: 21.74 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.959/8.671, allocations: 4 kB / 3.279 GB, free: 21.74 MB / 0.698 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)