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.001132/0.001132, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001304/0.001304, allocations: 177.3 kB / 15.95 MB, free: 216 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.357/1.357, allocations: 223.2 MB / 239.9 MB, free: 5.457 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.485/2.485, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003623, allocations: 11.98 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8001/0.8005, allocations: 142.3 MB / 0.9536 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic): time 0.1714/0.972, allocations: 150.3 MB / 1.1 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006308/0.9784, allocations: 3.651 MB / 1.104 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006888/0.9791, allocations: 23.81 kB / 1.104 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001274/0.9804, allocations: 414.3 kB / 1.104 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0029/0.9833, allocations: 1.001 MB / 1.105 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002016/0.9853, allocations: 0.659 MB / 1.106 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00151/0.9868, allocations: 0.8235 MB / 1.107 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000681/0.9875, allocations: 396.4 kB / 1.107 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001716/0.9893, allocations: 0.7555 MB / 1.108 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004468/0.9897, allocations: 310.8 kB / 1.108 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.189e-05/0.9898, allocations: 20 kB / 1.108 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.9911, allocations: 0.6045 MB / 1.109 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.9913, allocations: 163.5 kB / 1.109 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.9915, allocations: 149.3 kB / 1.109 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008595/0.9923, allocations: 0.7171 MB / 1.11 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.9923, allocations: 0 / 1.11 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.845e-06/0.9924, allocations: 7.938 kB / 1.11 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.9924, allocations: 0 / 1.11 GB, free: 15.78 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.001989/0.9944, allocations: 0.9117 MB / 1.111 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.9944, allocations: 8.031 kB / 1.111 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.883e-05/0.9945, allocations: 78.52 kB / 1.111 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.9958, allocations: 235 kB / 1.111 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008391/0.9967, allocations: 0.5113 MB / 1.112 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.761e-05/0.9967, allocations: 29 kB / 1.112 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.782e-05/0.9968, allocations: 43.98 kB / 1.112 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.9978, allocations: 0.5396 MB / 1.112 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.9979, allocations: 4 kB / 1.112 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.882e-05/0.9979, allocations: 16 kB / 1.112 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.752e-05/0.9979, allocations: 16.98 kB / 1.112 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.9991, allocations: 0.5074 MB / 1.113 GB, free: 12.77 MB / 0.8731 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.003138/1.002, allocations: 2.21 MB / 1.115 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006867/1.003, allocations: 382 kB / 1.115 GB, free: 9.992 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001153/1.004, allocations: 0.6001 MB / 1.116 GB, free: 9.281 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003401/1.004, allocations: 205.7 kB / 1.116 GB, free: 9.059 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=28): time 2.104e-06/1.005, allocations: 0 / 1.116 GB, free: 9.059 MB / 0.8731 GB Notification: Performance of matching and sorting (n=28): time 0.001054/1.006, allocations: 453.9 kB / 1.116 GB, free: 8.609 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/1.006, allocations: 110.8 kB / 1.116 GB, free: 8.477 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008862/1.007, allocations: 0.6485 MB / 1.117 GB, free: 7.82 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/1.007, allocations: 33.7 kB / 1.117 GB, free: 7.781 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002538/1.007, allocations: 319.7 kB / 1.117 GB, free: 7.465 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.075e-05/1.007, allocations: 98.66 kB / 1.118 GB, free: 7.367 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.168e-05/1.007, allocations: 4 kB / 1.118 GB, free: 7.363 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000185/1.007, allocations: 374.8 kB / 1.118 GB, free: 6.988 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003685/1.008, allocations: 136.8 kB / 1.118 GB, free: 6.852 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004592/1.008, allocations: 291.7 kB / 1.118 GB, free: 6.508 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004132/1.008, allocations: 182.1 kB / 1.118 GB, free: 6.332 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.008, allocations: 0 / 1.118 GB, free: 6.332 MB / 0.8731 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001019/1.009, allocations: 496.7 kB / 1.119 GB, free: 5.84 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006688/1.01, allocations: 1.568 MB / 1.121 GB, free: 4.148 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.01, allocations: 7.938 kB / 1.121 GB, free: 4.141 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/1.01, allocations: 8 kB / 1.121 GB, free: 4.133 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004385/1.011, allocations: 91.89 kB / 1.121 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/1.011, allocations: 19.88 kB / 1.121 GB, free: 4.023 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006738/1.011, allocations: 87.48 kB / 1.121 GB, free: 3.938 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.326e-05/1.011, allocations: 16 kB / 1.121 GB, free: 3.922 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/1.011, allocations: 4 kB / 1.121 GB, free: 3.918 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008773/1.012, allocations: 408.8 kB / 1.121 GB, free: 3.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/1.012, allocations: 4 kB / 1.121 GB, free: 3.516 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/1.012, allocations: 11.98 kB / 1.121 GB, free: 3.504 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/1.013, allocations: 87.89 kB / 1.121 GB, free: 3.418 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/1.013, allocations: 12 kB / 1.121 GB, free: 3.406 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004943/1.013, allocations: 75.7 kB / 1.121 GB, free: 3.332 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.595e-05/1.013, allocations: 20 kB / 1.121 GB, free: 3.312 MB / 0.8731 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.0003513/1.014, allocations: 293.9 kB / 1.122 GB, free: 3.016 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-05/1.014, allocations: 63.23 kB / 1.122 GB, free: 2.953 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006359/1.014, allocations: 327.6 kB / 1.122 GB, free: 2.613 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/1.014, allocations: 7.938 kB / 1.122 GB, free: 2.605 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.014, allocations: 0 / 1.122 GB, free: 2.605 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/1.014, allocations: 3.984 kB / 1.122 GB, free: 2.602 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/1.016, allocations: 1.181 MB / 1.123 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/1.016, allocations: 4 kB / 1.123 GB, free: 1.328 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/1.016, allocations: 39.97 kB / 1.123 GB, free: 1.289 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.463e-06/1.016, allocations: 4 kB / 1.123 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/1.016, allocations: 8 kB / 1.123 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.305e-06/1.016, allocations: 11.89 kB / 1.123 GB, free: 1.266 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.016, allocations: 4 kB / 1.123 GB, free: 1.262 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008435/1.017, allocations: 0.7451 MB / 1.124 GB, free: 420 kB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/1.017, allocations: 172.4 kB / 1.124 GB, free: 228 kB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.855e-05/1.018, allocations: 8 kB / 1.124 GB, free: 220 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003575/1.018, allocations: 23.98 kB / 1.124 GB, free: 196 kB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/1.018, allocations: 35.91 kB / 1.124 GB, free: 160 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/1.018, allocations: 12 kB / 1.124 GB, free: 148 kB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006274/1.019, allocations: 475 kB / 1.125 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.71e-07/1.019, allocations: 4 kB / 1.125 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008873/1.02, allocations: 271.6 kB / 1.125 GB, free: 15.41 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.002715/1.022, allocations: 2.355 MB / 1.127 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001237/1.024, allocations: 0.5255 MB / 1.128 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/1.024, allocations: 0 / 1.128 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002222/1.024, allocations: 131.7 kB / 1.128 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/1.025, allocations: 268 kB / 1.128 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006259/1.031, allocations: 6.039 MB / 1.134 GB, free: 6.035 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/1.032, allocations: 0.9098 MB / 1.135 GB, free: 5.098 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0007145/1.032, allocations: 164.9 kB / 1.135 GB, free: 4.938 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003005/1.033, allocations: 203.4 kB / 1.135 GB, free: 4.738 MB / 0.8887 GB Notification: Performance of SimCode: time 5.31e-07/1.033, allocations: 0 / 1.135 GB, free: 4.738 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03129/1.064, allocations: 15.74 MB / 1.151 GB, free: 5.309 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/1.064, allocations: 248.1 kB / 1.151 GB, free: 5.062 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.193/3.257, allocations: 0 / 1.151 GB, free: 5.062 MB / 0.9044 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