Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="Buildings_9_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.204/2.204, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001321/0.001321, allocations: 188.1 kB / 492.3 MB, free: 0.5977 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.483/1.483, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0008995/0.0008998, allocations: 91.94 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.081e-05/3.083e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2926, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.504/5.796, allocations: 1.887 GB / 3.099 GB, free: 430.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/5.797, allocations: 88.09 kB / 3.099 GB, free: 430.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.723/9.519, allocations: 0.9741 GB / 4.074 GB, free: 280.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.432e-06/9.52, allocations: 0 / 4.074 GB, free: 280.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.989e-05/9.52, allocations: 18.73 kB / 4.074 GB, free: 280.9 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.003142/9.523, allocations: 1.045 MB / 4.075 GB, free: 280.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/9.523, allocations: 11.53 kB / 4.075 GB, free: 280.4 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000161/9.523, allocations: 77.42 kB / 4.075 GB, free: 280.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/9.524, allocations: 228.7 kB / 4.075 GB, free: 280.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002658/9.527, allocations: 0.8836 MB / 4.076 GB, free: 280 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.731e-05/9.527, allocations: 34.81 kB / 4.076 GB, free: 280 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/9.527, allocations: 34.59 kB / 4.076 GB, free: 280 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008907/9.528, allocations: 498.9 kB / 4.076 GB, free: 280 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/9.528, allocations: 0 / 4.076 GB, free: 280 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.797e-05/9.528, allocations: 16.34 kB / 4.076 GB, free: 280 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.866e-05/9.528, allocations: 16.92 kB / 4.076 GB, free: 280 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006762/9.529, allocations: 376.7 kB / 4.077 GB, free: 280 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.003167/9.532, allocations: 2.167 MB / 4.079 GB, free: 278.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/9.533, allocations: 271.4 kB / 4.079 GB, free: 278.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/9.533, allocations: 124.3 kB / 4.079 GB, free: 278.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009382/9.534, allocations: 0.8221 MB / 4.08 GB, free: 277.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000302/9.534, allocations: 211.4 kB / 4.08 GB, free: 277.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=27): time 2.515e-06/9.534, allocations: 2.75 kB / 4.08 GB, free: 277.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=27): time 0.0009002/9.535, allocations: 345.9 kB / 4.08 GB, free: 277.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/9.535, allocations: 109.7 kB / 4.081 GB, free: 277.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007732/9.536, allocations: 0.5445 MB / 4.081 GB, free: 277.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.878e-05/9.536, allocations: 32.77 kB / 4.081 GB, free: 277.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/9.536, allocations: 326.6 kB / 4.081 GB, free: 277.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.106e-05/9.536, allocations: 101.1 kB / 4.082 GB, free: 277.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.84e-05/9.536, allocations: 6.688 kB / 4.082 GB, free: 277.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001165/9.536, allocations: 372.8 kB / 4.082 GB, free: 277 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/9.537, allocations: 111.9 kB / 4.082 GB, free: 277 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/9.537, allocations: 307 kB / 4.082 GB, free: 276.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/9.537, allocations: 156.2 kB / 4.082 GB, free: 276.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/9.537, allocations: 3.969 kB / 4.082 GB, free: 276.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008618/9.538, allocations: 466.2 kB / 4.083 GB, free: 276.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006478/9.539, allocations: 1.832 MB / 4.085 GB, free: 274.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/9.539, allocations: 3.938 kB / 4.085 GB, free: 274.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/9.539, allocations: 11.34 kB / 4.085 GB, free: 274.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003683/9.539, allocations: 89.62 kB / 4.085 GB, free: 274.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.019e-05/9.539, allocations: 9.844 kB / 4.085 GB, free: 274.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006653/9.54, allocations: 59.44 kB / 4.085 GB, free: 274.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.537e-05/9.54, allocations: 24.48 kB / 4.085 GB, free: 274.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/9.54, allocations: 3.906 kB / 4.085 GB, free: 274.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000644/9.541, allocations: 374.4 kB / 4.085 GB, free: 274.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/9.541, allocations: 7.344 kB / 4.085 GB, free: 274.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.427e-06/9.541, allocations: 8.875 kB / 4.085 GB, free: 274.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/9.541, allocations: 85.02 kB / 4.085 GB, free: 274.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/9.541, allocations: 15.33 kB / 4.085 GB, free: 274.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/9.542, allocations: 51.94 kB / 4.085 GB, free: 274.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.916e-05/9.542, allocations: 26.48 kB / 4.085 GB, free: 274.8 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.0001506/9.542, allocations: 136.6 kB / 4.086 GB, free: 274.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/9.542, allocations: 62.31 kB / 4.086 GB, free: 274.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006587/9.543, allocations: 327.5 kB / 4.086 GB, free: 274.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/9.543, allocations: 96 / 4.086 GB, free: 274.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/9.543, allocations: 10.28 kB / 4.086 GB, free: 274.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/9.543, allocations: 0 / 4.086 GB, free: 274.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/9.544, allocations: 1.189 MB / 4.087 GB, free: 274.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/9.544, allocations: 3.156 kB / 4.087 GB, free: 274.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/9.545, allocations: 49.05 kB / 4.087 GB, free: 274.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/9.545, allocations: 3.781 kB / 4.087 GB, free: 274.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.913e-05/9.545, allocations: 14.75 kB / 4.087 GB, free: 274.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/9.545, allocations: 9.5 kB / 4.087 GB, free: 274.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/9.545, allocations: 3.344 kB / 4.087 GB, free: 274.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000799/9.546, allocations: 0.7298 MB / 4.088 GB, free: 273.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000263/9.546, allocations: 174.9 kB / 4.088 GB, free: 273.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.971e-05/9.546, allocations: 7.312 kB / 4.088 GB, free: 273.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002945/9.546, allocations: 16.91 kB / 4.088 GB, free: 273.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/9.546, allocations: 24.31 kB / 4.088 GB, free: 273.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/9.546, allocations: 18.39 kB / 4.088 GB, free: 273.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004977/9.547, allocations: 441.6 kB / 4.089 GB, free: 273.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.1e-07/9.547, allocations: 0 / 4.089 GB, free: 273.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001618/9.548, allocations: 417.9 kB / 4.089 GB, free: 273.4 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.003986/9.552, allocations: 3.45 MB / 4.092 GB, free: 271.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000908/9.553, allocations: 0.5116 MB / 4.093 GB, free: 271.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/9.553, allocations: 0 / 4.093 GB, free: 271.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001923/9.554, allocations: 138.4 kB / 4.093 GB, free: 271.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/9.555, allocations: 255.6 kB / 4.093 GB, free: 271.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005091/9.56, allocations: 1.843 MB / 4.095 GB, free: 271.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/9.56, allocations: 0.912 MB / 4.096 GB, free: 270.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009548/9.561, allocations: 236.6 kB / 4.096 GB, free: 270.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002669/9.562, allocations: 196.9 kB / 4.096 GB, free: 270.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.132e-06/9.562, allocations: 3.812 kB / 4.096 GB, free: 270.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06957/9.631, allocations: 41.26 MB / 4.137 GB, free: 250.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/9.632, allocations: 210.5 kB / 4.137 GB, free: 250.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.43/13.06, allocations: 0 / 4.137 GB, free: 250.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.fmu > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat does not exist to compare? outputFormat=mat