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/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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009784/0.0009785, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001206/0.001206, allocations: 168.7 kB / 15.95 MB, free: 204 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.379/1.379, allocations: 223.3 MB / 240 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.464/2.464, allocations: 409.4 MB / 0.684 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003389, allocations: 8 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8035/0.8039, allocations: 146.8 MB / 0.9811 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic): time 0.1833/0.9873, allocations: 164 MB / 1.141 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00735/0.9947, allocations: 3.512 MB / 1.145 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007992/0.9955, allocations: 27.75 kB / 1.145 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001214/0.9967, allocations: 310.3 kB / 1.145 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002814/0.9996, allocations: 0.9254 MB / 1.146 GB, free: 13 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001772/1.001, allocations: 0.585 MB / 1.147 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001769/1.003, allocations: 1.57 MB / 1.148 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005689/1.004, allocations: 368.4 kB / 1.148 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001808/1.006, allocations: 0.7819 MB / 1.149 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006139/1.006, allocations: 434.3 kB / 1.15 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.747e-05/1.006, allocations: 20 kB / 1.15 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/1.008, allocations: 0.8108 MB / 1.15 GB, free: 8.438 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002033/1.008, allocations: 179.4 kB / 1.151 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000167/1.008, allocations: 145.3 kB / 1.151 GB, free: 8.113 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009617/1.009, allocations: 0.7951 MB / 1.151 GB, free: 7.316 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/1.009, allocations: 0 / 1.151 GB, free: 7.316 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.072e-06/1.009, allocations: 0 / 1.151 GB, free: 7.316 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.594e-06/1.009, allocations: 0 / 1.151 GB, free: 7.316 MB / 0.9044 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.001851/1.011, allocations: 0.9429 MB / 1.152 GB, free: 6.324 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/1.011, allocations: 8.031 kB / 1.152 GB, free: 6.316 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/1.011, allocations: 78.52 kB / 1.152 GB, free: 6.23 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/1.013, allocations: 250.8 kB / 1.153 GB, free: 5.984 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007749/1.013, allocations: 0.5113 MB / 1.153 GB, free: 5.434 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/1.013, allocations: 29 kB / 1.153 GB, free: 5.402 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.077e-05/1.014, allocations: 40 kB / 1.153 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/1.015, allocations: 0.5474 MB / 1.154 GB, free: 4.797 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/1.015, allocations: 0 / 1.154 GB, free: 4.797 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.679e-05/1.015, allocations: 20 kB / 1.154 GB, free: 4.777 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.618e-05/1.015, allocations: 28.88 kB / 1.154 GB, free: 4.75 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/1.016, allocations: 0.5035 MB / 1.154 GB, free: 4.246 MB / 0.9044 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.002956/1.019, allocations: 2.222 MB / 1.157 GB, free: 1.852 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000628/1.019, allocations: 359.9 kB / 1.157 GB, free: 1.473 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/1.02, allocations: 148.7 kB / 1.157 GB, free: 1.324 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001337/1.021, allocations: 0.865 MB / 1.158 GB, free: 300 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003479/1.021, allocations: 204.9 kB / 1.158 GB, free: 76 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=28): time 1.884e-06/1.021, allocations: 0 / 1.158 GB, free: 76 kB / 0.9044 GB Notification: Performance of matching and sorting (n=28): time 0.001036/1.022, allocations: 458.6 kB / 1.158 GB, free: 15.62 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/1.023, allocations: 85.09 kB / 1.159 GB, free: 15.52 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008001/1.023, allocations: 0.6408 MB / 1.159 GB, free: 14.87 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/1.023, allocations: 33.7 kB / 1.159 GB, free: 14.83 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/1.024, allocations: 319.8 kB / 1.16 GB, free: 14.52 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.9e-05/1.024, allocations: 98.58 kB / 1.16 GB, free: 14.42 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/1.024, allocations: 8 kB / 1.16 GB, free: 14.41 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.024, allocations: 370.8 kB / 1.16 GB, free: 14.04 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/1.024, allocations: 136.8 kB / 1.16 GB, free: 13.91 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004394/1.025, allocations: 298.2 kB / 1.16 GB, free: 13.55 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003711/1.025, allocations: 181.4 kB / 1.161 GB, free: 13.37 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/1.025, allocations: 4 kB / 1.161 GB, free: 13.37 MB / 0.92 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009272/1.026, allocations: 487 kB / 1.161 GB, free: 12.89 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/1.026, allocations: 211.5 kB / 1.161 GB, free: 12.62 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/1.026, allocations: 8 kB / 1.161 GB, free: 12.61 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/1.026, allocations: 8 kB / 1.161 GB, free: 12.61 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/1.027, allocations: 91.83 kB / 1.161 GB, free: 12.52 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/1.027, allocations: 15.97 kB / 1.161 GB, free: 12.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005872/1.027, allocations: 83.55 kB / 1.161 GB, free: 12.42 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.281e-05/1.027, allocations: 20 kB / 1.161 GB, free: 12.4 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/1.027, allocations: 7.984 kB / 1.161 GB, free: 12.39 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008286/1.028, allocations: 412.3 kB / 1.162 GB, free: 11.99 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/1.028, allocations: 4 kB / 1.162 GB, free: 11.98 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/1.028, allocations: 8 kB / 1.162 GB, free: 11.98 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003756/1.029, allocations: 92.05 kB / 1.162 GB, free: 11.89 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/1.029, allocations: 11.89 kB / 1.162 GB, free: 11.88 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004708/1.029, allocations: 79.48 kB / 1.162 GB, free: 11.8 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.498e-05/1.029, allocations: 16 kB / 1.162 GB, free: 11.78 MB / 0.92 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.000345/1.029, allocations: 285 kB / 1.162 GB, free: 11.49 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.407e-05/1.03, allocations: 59.25 kB / 1.162 GB, free: 11.43 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006867/1.03, allocations: 345.1 kB / 1.163 GB, free: 11.09 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/1.03, allocations: 4 kB / 1.163 GB, free: 11.08 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.088e-06/1.03, allocations: 11.89 kB / 1.163 GB, free: 11.07 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/1.03, allocations: 3.984 kB / 1.163 GB, free: 11.07 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/1.032, allocations: 1.104 MB / 1.164 GB, free: 9.875 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/1.032, allocations: 4 kB / 1.164 GB, free: 9.871 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/1.032, allocations: 44.03 kB / 1.164 GB, free: 9.828 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-06/1.032, allocations: 4 kB / 1.164 GB, free: 9.824 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.103e-05/1.032, allocations: 12 kB / 1.164 GB, free: 9.812 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/1.032, allocations: 7.938 kB / 1.164 GB, free: 9.805 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.032, allocations: 320 / 1.164 GB, free: 9.805 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000907/1.033, allocations: 0.624 MB / 1.164 GB, free: 9.133 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002094/1.033, allocations: 168.3 kB / 1.165 GB, free: 8.949 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.909e-05/1.033, allocations: 12 kB / 1.165 GB, free: 8.938 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003387/1.034, allocations: 32.03 kB / 1.165 GB, free: 8.906 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.073e-05/1.034, allocations: 23.88 kB / 1.165 GB, free: 8.883 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/1.034, allocations: 12 kB / 1.165 GB, free: 8.871 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006598/1.035, allocations: 479 kB / 1.165 GB, free: 8.406 MB / 0.92 GB Notification: Performance of sort global known variables: time 2e-07/1.035, allocations: 0 / 1.165 GB, free: 8.406 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009171/1.035, allocations: 271.6 kB / 1.165 GB, free: 8.141 MB / 0.92 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.002189/1.038, allocations: 1.569 MB / 1.167 GB, free: 6.684 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001111/1.039, allocations: 0.5311 MB / 1.167 GB, free: 6.156 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/1.039, allocations: 0 / 1.167 GB, free: 6.156 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002207/1.039, allocations: 134.7 kB / 1.168 GB, free: 6.027 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/1.04, allocations: 274.3 kB / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005541/1.046, allocations: 3.538 MB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004789/1.046, allocations: 0.8981 MB / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007656/1.047, allocations: 176.9 kB / 1.172 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/1.047, allocations: 195.4 kB / 1.173 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of SimCode: time 6.52e-07/1.047, allocations: 4 kB / 1.173 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03187/1.079, allocations: 15.77 MB / 1.188 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002658/1.08, allocations: 264.9 kB / 1.188 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.2/3.28, allocations: 0 / 1.188 GB, free: 1.023 MB / 0.9356 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) Environment - environmentSimulation: 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