Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",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.000951/0.0009508, allocations: 91.52 kB / 15.06 MB, free: 1.078 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.001164/0.001165, allocations: 176.7 kB / 15.95 MB, free: 192 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.473/1.473, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.664/2.664, allocations: 409.4 MB / 0.684 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.0003511, allocations: 8 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7417/0.7421, allocations: 146.8 MB / 0.9811 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2599/1.002, allocations: 202.8 MB / 1.179 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0206/1.023, allocations: 11.4 MB / 1.19 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003412/1.026, allocations: 63.56 kB / 1.19 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002477/1.029, allocations: 0.5782 MB / 1.191 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.007307/1.036, allocations: 2.123 MB / 1.193 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003873/1.04, allocations: 1.032 MB / 1.194 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.007939/1.048, allocations: 5.136 MB / 1.199 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003291/1.051, allocations: 1.313 MB / 1.2 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006594/1.058, allocations: 1.941 MB / 1.202 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003164/1.061, allocations: 1.44 MB / 1.204 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0004554/1.062, allocations: 80 kB / 1.204 GB, free: 1.746 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003922/1.066, allocations: 1.06 MB / 1.205 GB, free: 0.6836 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0009098/1.067, allocations: 0.588 MB / 1.205 GB, free: 96 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0008906/1.067, allocations: 380.8 kB / 1.206 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003622/1.071, allocations: 2.256 MB / 1.208 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/1.071, allocations: 0 / 1.208 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.753e-06/1.071, allocations: 0 / 1.208 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.023e-05/1.071, allocations: 0 / 1.208 GB, free: 13.45 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.003828/1.075, allocations: 1.914 MB / 1.21 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/1.075, allocations: 11.97 kB / 1.21 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003627/1.075, allocations: 210.8 kB / 1.21 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003033/1.078, allocations: 0.5011 MB / 1.21 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002467/1.081, allocations: 1.209 MB / 1.212 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.995e-05/1.081, allocations: 110.8 kB / 1.212 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000242/1.081, allocations: 147.9 kB / 1.212 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003066/1.084, allocations: 1.749 MB / 1.214 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.541e-05/1.084, allocations: 7.938 kB / 1.214 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/1.085, allocations: 64 kB / 1.214 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-05/1.085, allocations: 54.53 kB / 1.214 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002262/1.087, allocations: 1.395 MB / 1.215 GB, free: 5.848 MB / 0.9669 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.009866/1.097, allocations: 7.316 MB / 1.222 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/1.098, allocations: 1.04 MB / 1.223 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/1.099, allocations: 0.6906 MB / 1.224 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002274/1.1, allocations: 114.2 kB / 1.224 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/1.1, allocations: 47.55 kB / 1.224 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001301/1.101, allocations: 306.5 kB / 1.224 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=106): time 5.45e-06/1.101, allocations: 0 / 1.224 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of matching and sorting (n=112): time 0.008174/1.109, allocations: 4.414 MB / 1.229 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/1.109, allocations: 167.2 kB / 1.229 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001644/1.111, allocations: 1.251 MB / 1.23 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001359/1.111, allocations: 49.69 kB / 1.23 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005994/1.112, allocations: 0.7046 MB / 1.231 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004014/1.112, allocations: 398.3 kB / 1.231 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.051e-05/1.112, allocations: 32 kB / 1.231 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.113, allocations: 357.9 kB / 1.231 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008151/1.113, allocations: 0.5153 MB / 1.232 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/1.114, allocations: 0.84 MB / 1.233 GB, free: 2.895 MB / 0.9825 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.009203/1.124, allocations: 3.499 MB / 1.236 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.904e-06/1.124, allocations: 0 / 1.236 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002512/1.126, allocations: 1.6 MB / 1.238 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/1.126, allocations: 12.06 kB / 1.238 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/1.126, allocations: 8 kB / 1.238 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.864e-05/1.126, allocations: 16 kB / 1.238 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/1.127, allocations: 291.5 kB / 1.238 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.23e-05/1.127, allocations: 15.94 kB / 1.238 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/1.129, allocations: 113.8 kB / 1.238 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/1.129, allocations: 55.98 kB / 1.238 GB, free: 13.24 MB / 0.9981 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol2.dynBal.medium.p = vol2.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 169 * 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.0007267/1.13, allocations: 436.4 kB / 1.239 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003059/1.13, allocations: 162 kB / 1.239 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002086/1.132, allocations: 1.263 MB / 1.24 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/1.132, allocations: 12 kB / 1.24 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.132, allocations: 4 kB / 1.24 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001475/1.134, allocations: 1.233 MB / 1.241 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005642/1.139, allocations: 3.746 MB / 1.245 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/1.139, allocations: 12 kB / 1.245 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/1.14, allocations: 247.6 kB / 1.245 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-05/1.14, allocations: 16 kB / 1.245 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.24e-05/1.14, allocations: 40.58 kB / 1.245 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.648e-05/1.14, allocations: 19.92 kB / 1.245 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.194e-05/1.14, allocations: 19.94 kB / 1.245 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00286/1.143, allocations: 2.097 MB / 1.247 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007291/1.144, allocations: 358.9 kB / 1.248 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/1.144, allocations: 40.09 kB / 1.248 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/1.145, allocations: 92.95 kB / 1.248 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/1.145, allocations: 100.3 kB / 1.248 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.401e-05/1.146, allocations: 51.98 kB / 1.248 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00115/1.147, allocations: 0.8412 MB / 1.249 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.5e-07/1.147, allocations: 4 kB / 1.249 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001419/1.148, allocations: 428 kB / 1.249 GB, free: 1.598 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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 Backend phase and start with SimCode phase: time 0.5963/1.744, allocations: 2.761 MB / 1.252 GB, free: 264.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002523/1.747, allocations: 1.201 MB / 1.253 GB, free: 264.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/1.747, allocations: 6 kB / 1.253 GB, free: 264.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/1.748, allocations: 0.5365 MB / 1.254 GB, free: 264.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004553/1.753, allocations: 0.8916 MB / 1.254 GB, free: 264.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0229/1.776, allocations: 10.49 MB / 1.265 GB, free: 258.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/1.777, allocations: 1.373 MB / 1.266 GB, free: 257.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002076/1.779, allocations: 386.9 kB / 1.266 GB, free: 257.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008123/1.78, allocations: 0.6382 MB / 1.267 GB, free: 257.3 MB / 0.9981 GB Notification: Performance of SimCode: time 8.72e-07/1.78, allocations: 3.938 kB / 1.267 GB, free: 257.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07097/1.851, allocations: 42.28 MB / 1.308 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/1.851, allocations: 266.9 kB / 1.309 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.995/4.846, allocations: 3.938 kB / 1.309 GB, free: 220.8 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat does not exist to compare? outputFormat=mat