Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.208/2.208, allocations: 390.5 MB / 398 MB, free: 10.94 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009872/0.0009872, allocations: 179.9 kB / 491.2 MB, free: 1.598 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.648/1.648, allocations: 221.5 MB / 0.7868 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000942/0.000942, allocations: 95.88 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.106e-05/2.107e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3277, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.897/6.225, allocations: 1.887 GB / 3.099 GB, free: 430.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/6.226, allocations: 85.3 kB / 3.099 GB, free: 430.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.464/9.689, allocations: 0.9638 GB / 4.063 GB, free: 282.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.974e-06/9.69, allocations: 3.094 kB / 4.063 GB, free: 282.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.483e-05/9.69, allocations: 18.77 kB / 4.063 GB, free: 282.6 MB / 1.151 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.003221/9.693, allocations: 1.034 MB / 4.064 GB, free: 282 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/9.693, allocations: 15.31 kB / 4.064 GB, free: 282 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/9.694, allocations: 223.5 kB / 4.065 GB, free: 282 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00247/9.697, allocations: 0.8809 MB / 4.065 GB, free: 281.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.339e-05/9.697, allocations: 18.36 kB / 4.065 GB, free: 281.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/9.697, allocations: 27.8 kB / 4.065 GB, free: 281.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005933/9.698, allocations: 326.1 kB / 4.066 GB, free: 281.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006821/9.698, allocations: 440.3 kB / 4.066 GB, free: 281.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/9.698, allocations: 2.922 kB / 4.066 GB, free: 281.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.059e-05/9.698, allocations: 3.188 kB / 4.066 GB, free: 281.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/9.698, allocations: 18.59 kB / 4.066 GB, free: 281.7 MB / 1.151 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.002704/9.701, allocations: 2.065 MB / 4.068 GB, free: 280.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004607/9.702, allocations: 252 kB / 4.068 GB, free: 280.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/9.702, allocations: 125.3 kB / 4.069 GB, free: 280.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008968/9.703, allocations: 0.8221 MB / 4.069 GB, free: 279.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002515/9.703, allocations: 186.6 kB / 4.07 GB, free: 279.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=27): time 2.264e-06/9.703, allocations: 3.469 kB / 4.07 GB, free: 279.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=27): time 0.003685/9.707, allocations: 0.8254 MB / 4.07 GB, free: 279.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/9.707, allocations: 106.4 kB / 4.07 GB, free: 279.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005122/9.707, allocations: 454.7 kB / 4.071 GB, free: 279.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/9.707, allocations: 29.58 kB / 4.071 GB, free: 279.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000211/9.708, allocations: 327 kB / 4.071 GB, free: 279.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.87e-05/9.708, allocations: 94.44 kB / 4.071 GB, free: 279.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/9.708, allocations: 2.438 kB / 4.071 GB, free: 279.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.466e-05/9.708, allocations: 369.7 kB / 4.072 GB, free: 278.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/9.708, allocations: 103.1 kB / 4.072 GB, free: 278.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/9.708, allocations: 293.7 kB / 4.072 GB, free: 278.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003019/9.711, allocations: 0.6403 MB / 4.073 GB, free: 278.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/9.711, allocations: 10.5 kB / 4.073 GB, free: 278.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003452/9.715, allocations: 0.9049 MB / 4.074 GB, free: 278.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004303/9.715, allocations: 1.828 MB / 4.075 GB, free: 276.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/9.715, allocations: 3.438 kB / 4.075 GB, free: 276.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/9.715, allocations: 7.812 kB / 4.075 GB, free: 276.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/9.715, allocations: 101.6 kB / 4.075 GB, free: 276.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/9.716, allocations: 3.906 kB / 4.075 GB, free: 276.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004861/9.716, allocations: 50.45 kB / 4.076 GB, free: 276.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.174e-05/9.716, allocations: 25.91 kB / 4.076 GB, free: 276.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/9.716, allocations: 7.219 kB / 4.076 GB, free: 276.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003322/9.719, allocations: 0.811 MB / 4.076 GB, free: 276.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/9.719, allocations: 9.875 kB / 4.076 GB, free: 276.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/9.719, allocations: 11.2 kB / 4.076 GB, free: 276.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/9.72, allocations: 86.62 kB / 4.076 GB, free: 276.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/9.72, allocations: 10.34 kB / 4.076 GB, free: 276.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004969/9.72, allocations: 34.14 kB / 4.076 GB, free: 276.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-05/9.72, allocations: 26.95 kB / 4.077 GB, free: 276.5 MB / 1.151 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 (49): * Single equations (assignments): 49 * 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.0001734/9.721, allocations: 121.2 kB / 4.077 GB, free: 276.4 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003311/9.724, allocations: 0.7986 MB / 4.077 GB, free: 276.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/9.724, allocations: 55.66 kB / 4.077 GB, free: 276.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003345/9.727, allocations: 0.7946 MB / 4.078 GB, free: 276.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.924e-06/9.727, allocations: 7.344 kB / 4.078 GB, free: 276.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/9.727, allocations: 0 / 4.078 GB, free: 276.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/9.727, allocations: 3.953 kB / 4.078 GB, free: 276.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00432/9.732, allocations: 1.588 MB / 4.08 GB, free: 275.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/9.732, allocations: 3.625 kB / 4.08 GB, free: 275.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/9.732, allocations: 48.84 kB / 4.08 GB, free: 275.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.699e-06/9.732, allocations: 8.766 kB / 4.08 GB, free: 275.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/9.732, allocations: 7.891 kB / 4.08 GB, free: 275.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/9.732, allocations: 3.656 kB / 4.08 GB, free: 275.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/9.732, allocations: 6.594 kB / 4.08 GB, free: 275.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003509/9.736, allocations: 1.2 MB / 4.081 GB, free: 275.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002836/9.736, allocations: 172.2 kB / 4.081 GB, free: 275.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/9.736, allocations: 3.906 kB / 4.081 GB, free: 275.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000287/9.736, allocations: 14.08 kB / 4.081 GB, free: 275.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/9.736, allocations: 28.42 kB / 4.081 GB, free: 275.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/9.736, allocations: 14.75 kB / 4.081 GB, free: 275.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004208/9.737, allocations: 343.5 kB / 4.082 GB, free: 275.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.41e-07/9.737, allocations: 3.438 kB / 4.082 GB, free: 275.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001481/9.738, allocations: 375.3 kB / 4.082 GB, free: 275.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (hum.outCon.T,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 (28): * Single equations (assignments): 26 * 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.007175/9.746, allocations: 4.064 MB / 4.086 GB, free: 273.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000927/9.747, allocations: 481.4 kB / 4.086 GB, free: 273.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/9.747, allocations: 0 / 4.086 GB, free: 273.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002029/9.747, allocations: 129.1 kB / 4.087 GB, free: 273.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/9.748, allocations: 189.1 kB / 4.087 GB, free: 273.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005139/9.753, allocations: 1.803 MB / 4.088 GB, free: 272.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004544/9.754, allocations: 0.91 MB / 4.089 GB, free: 272.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009149/9.755, allocations: 209.3 kB / 4.09 GB, free: 272.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003697/9.755, allocations: 199.7 kB / 4.09 GB, free: 272.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.222e-06/9.755, allocations: 3.438 kB / 4.09 GB, free: 272.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05144/9.806, allocations: 24.47 MB / 4.114 GB, free: 267.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001566/9.807, allocations: 196.5 kB / 4.114 GB, free: 267 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.73/12.54, allocations: 3.281 kB / 4.114 GB, free: 267 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.fmu > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat does not exist to compare? outputFormat=mat