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.8687/0.8687, allocations: 141.8 MB / 149.3 MB, free: 9.234 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.0009615/0.0009613, allocations: 169 kB / 182.2 MB, free: 9.465 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.485/1.485, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.0009589/0.0009591, allocations: 95.98 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001783/0.001783, allocations: 280.7 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.39e-05/2.367e-05, allocations: 4 kB / 0.6766 GB, free: 12.76 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5199/0.52, allocations: 82.77 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.201/5.721, allocations: 1.847 GB / 2.604 GB, free: 170.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/5.722, allocations: 84.95 kB / 2.604 GB, free: 170.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.172/7.894, allocations: 0.598 GB / 3.202 GB, free: 110.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.533e-06/7.894, allocations: 0 / 3.202 GB, free: 110.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.345e-05/7.894, allocations: 23.53 kB / 3.202 GB, free: 110.4 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.002879/7.897, allocations: 1.036 MB / 3.203 GB, free: 109.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/7.897, allocations: 12.03 kB / 3.203 GB, free: 109.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/7.898, allocations: 217.3 kB / 3.204 GB, free: 109.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002234/7.9, allocations: 0.895 MB / 3.205 GB, free: 108.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/7.9, allocations: 15.94 kB / 3.205 GB, free: 108.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.946e-05/7.9, allocations: 24 kB / 3.205 GB, free: 108.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005463/7.901, allocations: 345.4 kB / 3.205 GB, free: 107.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000584/7.901, allocations: 435.3 kB / 3.205 GB, free: 107.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/7.901, allocations: 0 / 3.205 GB, free: 107.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.816e-05/7.902, allocations: 0 / 3.205 GB, free: 107.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.393e-05/7.902, allocations: 20.77 kB / 3.205 GB, free: 107.4 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.002439/7.904, allocations: 2.049 MB / 3.207 GB, free: 105.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004278/7.904, allocations: 234.6 kB / 3.208 GB, free: 105 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/7.905, allocations: 112.8 kB / 3.208 GB, free: 104.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008948/7.905, allocations: 0.8207 MB / 3.209 GB, free: 103.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/7.906, allocations: 183.4 kB / 3.209 GB, free: 103.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 2.083e-06/7.906, allocations: 0 / 3.209 GB, free: 103.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.003537/7.909, allocations: 0.8312 MB / 3.209 GB, free: 102.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/7.909, allocations: 106.8 kB / 3.21 GB, free: 102.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004435/7.91, allocations: 454.2 kB / 3.21 GB, free: 102.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/7.91, allocations: 25.7 kB / 3.21 GB, free: 102.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/7.91, allocations: 339.6 kB / 3.21 GB, free: 101.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.108e-05/7.91, allocations: 82.88 kB / 3.21 GB, free: 101.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.711e-05/7.91, allocations: 0 / 3.21 GB, free: 101.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.927e-05/7.91, allocations: 362.8 kB / 3.211 GB, free: 101.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/7.91, allocations: 100.6 kB / 3.211 GB, free: 101.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/7.911, allocations: 281.6 kB / 3.211 GB, free: 101 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002835/7.913, allocations: 0.6585 MB / 3.212 GB, free: 100.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-06/7.913, allocations: 4.094 kB / 3.212 GB, free: 100.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.003159/7.917, allocations: 0.8898 MB / 3.213 GB, free: 99.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003908/7.917, allocations: 1.842 MB / 3.214 GB, free: 97.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/7.917, allocations: 6.406 kB / 3.214 GB, free: 97.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.889e-05/7.917, allocations: 8 kB / 3.214 GB, free: 97.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003075/7.917, allocations: 83.89 kB / 3.215 GB, free: 97.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/7.917, allocations: 11.92 kB / 3.215 GB, free: 97.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004115/7.918, allocations: 47.58 kB / 3.215 GB, free: 97.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.902e-05/7.918, allocations: 20 kB / 3.215 GB, free: 97.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.001e-06/7.918, allocations: 0 / 3.215 GB, free: 97.26 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003066/7.921, allocations: 0.8141 MB / 3.215 GB, free: 96.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/7.921, allocations: 8 kB / 3.215 GB, free: 96.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.854e-06/7.921, allocations: 8 kB / 3.215 GB, free: 96.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/7.921, allocations: 79.83 kB / 3.216 GB, free: 96.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/7.921, allocations: 11.98 kB / 3.216 GB, free: 96.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003381/7.922, allocations: 36.33 kB / 3.216 GB, free: 96.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/7.922, allocations: 23.98 kB / 3.216 GB, free: 96.28 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 0.0001207/7.922, allocations: 126.9 kB / 3.216 GB, free: 96.15 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00305/7.925, allocations: 0.7938 MB / 3.216 GB, free: 95.35 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.855e-05/7.925, allocations: 55.34 kB / 3.217 GB, free: 95.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003159/7.928, allocations: 0.792 MB / 3.217 GB, free: 94.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/7.928, allocations: 4 kB / 3.217 GB, free: 94.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/7.928, allocations: 4 kB / 3.217 GB, free: 94.49 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/7.928, allocations: 3.984 kB / 3.217 GB, free: 94.49 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00397/7.932, allocations: 1.593 MB / 3.219 GB, free: 92.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/7.932, allocations: 4 kB / 3.219 GB, free: 92.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/7.932, allocations: 43.91 kB / 3.219 GB, free: 92.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/7.932, allocations: 4 kB / 3.219 GB, free: 92.78 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/7.932, allocations: 4 kB / 3.219 GB, free: 92.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/7.932, allocations: 4 kB / 3.219 GB, free: 92.77 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/7.932, allocations: 4.281 kB / 3.219 GB, free: 92.77 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003177/7.936, allocations: 1.074 MB / 3.22 GB, free: 91.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002116/7.936, allocations: 164.3 kB / 3.22 GB, free: 91.42 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.368e-05/7.936, allocations: 8 kB / 3.22 GB, free: 91.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/7.936, allocations: 7.938 kB / 3.22 GB, free: 91.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/7.936, allocations: 28.14 kB / 3.22 GB, free: 91.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/7.936, allocations: 12 kB / 3.22 GB, free: 91.37 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003714/7.937, allocations: 354.9 kB / 3.221 GB, free: 91.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.11e-07/7.937, allocations: 0 / 3.221 GB, free: 91.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001326/7.938, allocations: 371.3 kB / 3.221 GB, free: 90.66 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.006105/7.944, allocations: 3.937 MB / 3.225 GB, free: 86.87 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007531/7.945, allocations: 452.2 kB / 3.225 GB, free: 86.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/7.945, allocations: 0 / 3.225 GB, free: 86.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/7.945, allocations: 119.1 kB / 3.225 GB, free: 86.32 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009905/7.946, allocations: 207.9 kB / 3.225 GB, free: 86.11 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004009/7.95, allocations: 1.661 MB / 3.227 GB, free: 84.41 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/7.95, allocations: 0.9024 MB / 3.228 GB, free: 83.48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007364/7.951, allocations: 208.4 kB / 3.228 GB, free: 83.28 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/7.951, allocations: 191.4 kB / 3.228 GB, free: 83.09 MB / 0.698 GB Notification: Performance of SimCode: time 8.42e-07/7.951, allocations: 0 / 3.228 GB, free: 83.09 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06028/8.012, allocations: 24.31 MB / 3.252 GB, free: 58.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002586/8.012, allocations: 189.2 kB / 3.252 GB, free: 58.71 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.891/10.9, allocations: 0 / 3.252 GB, free: 58.71 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)