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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008694/0.0008738, allocations: 92.31 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008189/0.0008191, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 223.3 MB / 240 MB, free: 5.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.359/2.359, allocations: 390.4 MB / 0.6655 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003154/0.0003154, allocations: 12 kB / 0.8149 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8485/0.8488, allocations: 142.3 MB / 0.9538 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic): time 0.1947/1.044, allocations: 164 MB / 1.114 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.007366/1.051, allocations: 3.521 MB / 1.117 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008175/1.052, allocations: 23.81 kB / 1.117 GB, free: 8.152 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/1.053, allocations: 322.3 kB / 1.118 GB, free: 7.836 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002843/1.056, allocations: 0.9215 MB / 1.119 GB, free: 6.91 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001908/1.058, allocations: 0.5818 MB / 1.119 GB, free: 6.332 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002306/1.06, allocations: 1.559 MB / 1.121 GB, free: 4.762 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007836/1.061, allocations: 385.1 kB / 1.121 GB, free: 4.387 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002235/1.063, allocations: 0.7741 MB / 1.122 GB, free: 3.609 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007323/1.064, allocations: 438.2 kB / 1.122 GB, free: 3.18 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.706e-05/1.064, allocations: 20 kB / 1.122 GB, free: 3.16 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001989/1.066, allocations: 0.8108 MB / 1.123 GB, free: 2.348 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002153/1.066, allocations: 171.4 kB / 1.123 GB, free: 2.18 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002461/1.066, allocations: 153.3 kB / 1.123 GB, free: 2.023 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001164/1.068, allocations: 0.799 MB / 1.124 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.068, allocations: 0 / 1.124 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.385e-06/1.068, allocations: 0 / 1.124 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.45e-05/1.068, allocations: 0 / 1.124 GB, free: 1.223 MB / 0.8731 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.002091/1.07, allocations: 0.9428 MB / 1.125 GB, free: 236 kB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/1.07, allocations: 8.031 kB / 1.125 GB, free: 228 kB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/1.07, allocations: 82.52 kB / 1.125 GB, free: 136 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/1.071, allocations: 231 kB / 1.125 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008273/1.072, allocations: 0.5152 MB / 1.126 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/1.072, allocations: 29 kB / 1.126 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.189e-05/1.072, allocations: 44 kB / 1.126 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/1.073, allocations: 0.5474 MB / 1.127 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/1.073, allocations: 4 kB / 1.127 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.408e-05/1.073, allocations: 11.98 kB / 1.127 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.846e-05/1.073, allocations: 21 kB / 1.127 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/1.074, allocations: 0.5074 MB / 1.127 GB, free: 14.16 MB / 0.8887 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003177/1.078, allocations: 2.23 MB / 1.129 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00071/1.078, allocations: 349.5 kB / 1.13 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/1.079, allocations: 148.8 kB / 1.13 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00139/1.08, allocations: 0.8611 MB / 1.131 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003769/1.08, allocations: 213.6 kB / 1.131 GB, free: 9.996 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=28): time 2.354e-06/1.08, allocations: 0 / 1.131 GB, free: 9.996 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28): time 0.001149/1.082, allocations: 458 kB / 1.131 GB, free: 9.543 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.289e-05/1.082, allocations: 81.05 kB / 1.131 GB, free: 9.445 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009376/1.083, allocations: 0.6486 MB / 1.132 GB, free: 8.789 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/1.083, allocations: 33.7 kB / 1.132 GB, free: 8.75 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/1.083, allocations: 319.8 kB / 1.132 GB, free: 8.434 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.769e-05/1.083, allocations: 98.59 kB / 1.132 GB, free: 8.336 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.333e-05/1.083, allocations: 8 kB / 1.132 GB, free: 8.328 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001588/1.083, allocations: 374.7 kB / 1.133 GB, free: 7.953 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003322/1.084, allocations: 136.8 kB / 1.133 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004345/1.084, allocations: 294.3 kB / 1.133 GB, free: 7.469 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003761/1.084, allocations: 175.8 kB / 1.133 GB, free: 7.297 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/1.084, allocations: 4 kB / 1.133 GB, free: 7.293 MB / 0.8887 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009684/1.085, allocations: 0.4917 MB / 1.134 GB, free: 6.797 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001844/1.086, allocations: 196.9 kB / 1.134 GB, free: 6.547 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/1.086, allocations: 4 kB / 1.134 GB, free: 6.543 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.044e-05/1.086, allocations: 11.95 kB / 1.134 GB, free: 6.531 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004312/1.086, allocations: 99.81 kB / 1.134 GB, free: 6.434 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/1.086, allocations: 8 kB / 1.134 GB, free: 6.426 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006604/1.087, allocations: 83.61 kB / 1.134 GB, free: 6.344 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.731e-05/1.087, allocations: 27.92 kB / 1.134 GB, free: 6.316 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/1.087, allocations: 4 kB / 1.134 GB, free: 6.312 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008583/1.088, allocations: 413.6 kB / 1.135 GB, free: 5.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/1.088, allocations: 8.094 kB / 1.135 GB, free: 5.902 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.736e-06/1.088, allocations: 8 kB / 1.135 GB, free: 5.895 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003722/1.088, allocations: 83.89 kB / 1.135 GB, free: 5.812 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.527e-06/1.088, allocations: 11.94 kB / 1.135 GB, free: 5.801 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004479/1.089, allocations: 79.48 kB / 1.135 GB, free: 5.723 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/1.089, allocations: 20 kB / 1.135 GB, free: 5.703 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 () * Number of clocked 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.0003587/1.089, allocations: 285 kB / 1.135 GB, free: 5.414 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.697e-05/1.089, allocations: 59.25 kB / 1.135 GB, free: 5.355 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006673/1.09, allocations: 345.2 kB / 1.135 GB, free: 5 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/1.09, allocations: 4 kB / 1.135 GB, free: 4.996 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.09, allocations: 0 / 1.135 GB, free: 4.996 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/1.09, allocations: 3.984 kB / 1.135 GB, free: 4.992 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001765/1.092, allocations: 1.1 MB / 1.137 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/1.092, allocations: 4 kB / 1.137 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/1.092, allocations: 48.22 kB / 1.137 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/1.092, allocations: 12 kB / 1.137 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-05/1.092, allocations: 11.95 kB / 1.137 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/1.092, allocations: 7.938 kB / 1.137 GB, free: 3.723 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.092, allocations: 192 / 1.137 GB, free: 3.723 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008218/1.093, allocations: 0.6201 MB / 1.137 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/1.093, allocations: 176.3 kB / 1.137 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.496e-05/1.093, allocations: 16.02 kB / 1.137 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003328/1.093, allocations: 27.97 kB / 1.137 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.381e-05/1.093, allocations: 15.98 kB / 1.137 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/1.093, allocations: 23.98 kB / 1.137 GB, free: 2.781 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006361/1.094, allocations: 474.9 kB / 1.138 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/1.094, allocations: 0 / 1.138 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009556/1.095, allocations: 271.7 kB / 1.138 GB, free: 2.055 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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) * Number of clocked states: 0 () * 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.002224/1.097, allocations: 1.575 MB / 1.14 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00122/1.099, allocations: 0.5202 MB / 1.14 GB, free: 76 kB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.099, allocations: 384 / 1.14 GB, free: 76 kB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000246/1.099, allocations: 135.9 kB / 1.14 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/1.1, allocations: 265.1 kB / 1.141 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005774/1.106, allocations: 3.562 MB / 1.144 GB, free: 12 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000501/1.106, allocations: 0.8969 MB / 1.145 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007383/1.107, allocations: 164.9 kB / 1.145 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002816/1.107, allocations: 207.3 kB / 1.145 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of SimCode: time 1.052e-06/1.107, allocations: 0 / 1.145 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03243/1.14, allocations: 15.76 MB / 1.161 GB, free: 11.26 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/1.14, allocations: 246.8 kB / 1.161 GB, free: 11.02 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.173/3.314, allocations: 3.938 kB / 1.161 GB, free: 11.02 MB / 0.92 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