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.8122/0.8122, allocations: 141.8 MB / 149.3 MB, free: 9.23 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.001095/0.001095, allocations: 179.9 kB / 182.2 MB, free: 9.441 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.512/1.512, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.00105/0.00105, allocations: 87.55 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001757/0.001757, allocations: 274.6 kB / 0.5889 GB, free: 54.62 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.899e-05/1.913e-05, allocations: 0 / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4617/0.4617, allocations: 82.77 MB / 0.7574 GB, free: 31.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.066/5.527, allocations: 1.847 GB / 2.604 GB, free: 211.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/5.528, allocations: 90.17 kB / 2.605 GB, free: 211.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.463/8.991, allocations: 0.9644 GB / 3.569 GB, free: 26.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.913e-06/8.991, allocations: 0 / 3.569 GB, free: 26.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.295e-05/8.991, allocations: 23.94 kB / 3.569 GB, free: 25.99 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.002551/8.994, allocations: 1.042 MB / 3.57 GB, free: 24.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/8.994, allocations: 12.03 kB / 3.57 GB, free: 24.89 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/8.995, allocations: 222.9 kB / 3.57 GB, free: 24.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002065/8.997, allocations: 0.8972 MB / 3.571 GB, free: 23.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/8.997, allocations: 12 kB / 3.571 GB, free: 23.72 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.766e-05/8.997, allocations: 28 kB / 3.571 GB, free: 23.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005156/8.998, allocations: 337.5 kB / 3.571 GB, free: 23.36 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005924/8.998, allocations: 431 kB / 3.572 GB, free: 22.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/8.998, allocations: 4 kB / 3.572 GB, free: 22.92 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.772e-05/8.999, allocations: 4 kB / 3.572 GB, free: 22.92 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/8.999, allocations: 20.72 kB / 3.572 GB, free: 22.89 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.002305/9.001, allocations: 2.07 MB / 3.574 GB, free: 20.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004084/9.001, allocations: 246.5 kB / 3.574 GB, free: 20.41 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/9.001, allocations: 117.5 kB / 3.574 GB, free: 20.29 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008025/9.002, allocations: 0.8183 MB / 3.575 GB, free: 19.31 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/9.002, allocations: 195.8 kB / 3.575 GB, free: 19.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 1.713e-06/9.002, allocations: 0 / 3.575 GB, free: 19.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.003541/9.006, allocations: 0.8213 MB / 3.576 GB, free: 18.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/9.006, allocations: 107 kB / 3.576 GB, free: 18.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004404/9.007, allocations: 458.1 kB / 3.577 GB, free: 17.68 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/9.007, allocations: 29.7 kB / 3.577 GB, free: 17.65 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/9.007, allocations: 335.6 kB / 3.577 GB, free: 17.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.442e-05/9.007, allocations: 86.75 kB / 3.577 GB, free: 17.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.781e-05/9.007, allocations: 0 / 3.577 GB, free: 17.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.289e-05/9.007, allocations: 362.8 kB / 3.577 GB, free: 16.87 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/9.007, allocations: 108.8 kB / 3.577 GB, free: 16.76 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/9.007, allocations: 280.4 kB / 3.578 GB, free: 16.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00287/9.01, allocations: 0.6543 MB / 3.578 GB, free: 15.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/9.01, allocations: 4 kB / 3.578 GB, free: 15.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.003262/9.013, allocations: 0.8789 MB / 3.579 GB, free: 14.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003097/9.014, allocations: 1.838 MB / 3.581 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/9.014, allocations: 4 kB / 3.581 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/9.014, allocations: 15.94 kB / 3.581 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/9.014, allocations: 83.89 kB / 3.581 GB, free: 12.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/9.014, allocations: 7.938 kB / 3.581 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004043/9.015, allocations: 43.66 kB / 3.581 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.984e-05/9.015, allocations: 24 kB / 3.581 GB, free: 12.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.702e-06/9.015, allocations: 8 kB / 3.581 GB, free: 12.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003236/9.018, allocations: 0.8027 MB / 3.582 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/9.018, allocations: 7.938 kB / 3.582 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.427e-06/9.018, allocations: 8 kB / 3.582 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/9.018, allocations: 87.83 kB / 3.582 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/9.018, allocations: 11.95 kB / 3.582 GB, free: 11.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003562/9.019, allocations: 31.89 kB / 3.582 GB, free: 11.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/9.019, allocations: 31.98 kB / 3.582 GB, free: 11.72 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 (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 0.000102/9.019, allocations: 116.8 kB / 3.582 GB, free: 11.6 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003139/9.022, allocations: 0.7816 MB / 3.583 GB, free: 10.81 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.734e-05/9.022, allocations: 55.53 kB / 3.583 GB, free: 10.75 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003191/9.025, allocations: 0.7934 MB / 3.584 GB, free: 9.953 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/9.025, allocations: 7.984 kB / 3.584 GB, free: 9.945 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/9.025, allocations: 0 / 3.584 GB, free: 9.945 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/9.025, allocations: 0 / 3.584 GB, free: 9.945 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004014/9.029, allocations: 1.591 MB / 3.585 GB, free: 8.281 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/9.029, allocations: 0 / 3.585 GB, free: 8.281 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/9.029, allocations: 47.91 kB / 3.585 GB, free: 8.234 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/9.029, allocations: 4 kB / 3.585 GB, free: 8.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/9.03, allocations: 11.98 kB / 3.585 GB, free: 8.219 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/9.03, allocations: 4 kB / 3.585 GB, free: 8.215 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/9.03, allocations: 0 / 3.585 GB, free: 8.215 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00341/9.033, allocations: 1.187 MB / 3.587 GB, free: 6.934 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002373/9.033, allocations: 168.2 kB / 3.587 GB, free: 6.75 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/9.033, allocations: 7.953 kB / 3.587 GB, free: 6.742 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/9.034, allocations: 11.98 kB / 3.587 GB, free: 6.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.406e-05/9.034, allocations: 27.91 kB / 3.587 GB, free: 6.703 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/9.034, allocations: 16.06 kB / 3.587 GB, free: 6.688 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004265/9.034, allocations: 354.8 kB / 3.587 GB, free: 6.344 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.01e-07/9.034, allocations: 0 / 3.587 GB, free: 6.344 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001392/9.036, allocations: 379.2 kB / 3.588 GB, free: 5.973 MB / 0.698 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.006396/9.042, allocations: 4.058 MB / 3.592 GB, free: 1.871 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008468/9.043, allocations: 476.4 kB / 3.592 GB, free: 1.406 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/9.043, allocations: 448 / 3.592 GB, free: 1.406 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/9.043, allocations: 119.8 kB / 3.592 GB, free: 1.289 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/9.044, allocations: 204.3 kB / 3.592 GB, free: 1.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004898/9.049, allocations: 1.733 MB / 3.594 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006276/9.05, allocations: 0.9142 MB / 3.595 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0009206/9.051, allocations: 216.4 kB / 3.595 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002849/9.051, allocations: 195.4 kB / 3.595 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of SimCode: time 1.293e-06/9.051, allocations: 0 / 3.595 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4699/9.521, allocations: 24.5 MB / 3.619 GB, free: 144.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/9.521, allocations: 201.4 kB / 3.619 GB, free: 144.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.719/12.24, allocations: 0 / 3.619 GB, free: 144.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)