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.001192/0.001192, allocations: 99.62 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.001405/0.001405, 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.432/1.432, allocations: 223.2 MB / 239.9 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.293/2.293, allocations: 409.2 MB / 0.6838 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.0003751, allocations: 8 kB / 0.8375 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5199/0.5203, allocations: 146.8 MB / 0.9809 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.164/0.6843, allocations: 183.3 MB / 1.16 GB, free: 14.56 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01369/0.6981, allocations: 11.24 MB / 1.171 GB, free: 3.297 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.6995, allocations: 55.62 kB / 1.171 GB, free: 3.242 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002188/0.7017, allocations: 0.902 MB / 1.172 GB, free: 2.336 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005837/0.7076, allocations: 2.62 MB / 1.174 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003433/0.711, allocations: 1.581 MB / 1.176 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003262/0.7143, allocations: 2.57 MB / 1.178 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.7157, allocations: 1.314 MB / 1.18 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002472/0.7182, allocations: 1.67 MB / 1.181 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.7192, allocations: 1.012 MB / 1.182 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.7194, allocations: 80 kB / 1.182 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001986/0.7214, allocations: 0.9594 MB / 1.183 GB, free: 6.5 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004458/0.7218, allocations: 0.5375 MB / 1.184 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003248/0.7222, allocations: 388.7 kB / 1.184 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.7239, allocations: 2.143 MB / 1.186 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.7239, allocations: 3.938 kB / 1.186 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7239, allocations: 4 kB / 1.186 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.554e-05/0.724, allocations: 0 / 1.186 GB, free: 3.418 MB / 0.9356 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.002622/0.7266, allocations: 1.883 MB / 1.188 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.7266, allocations: 8.031 kB / 1.188 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002207/0.7269, allocations: 210.8 kB / 1.188 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002568/0.7294, allocations: 0.501 MB / 1.189 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001785/0.7312, allocations: 1.205 MB / 1.19 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.212e-05/0.7313, allocations: 110.8 kB / 1.19 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.7315, allocations: 147.9 kB / 1.19 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002242/0.7338, allocations: 1.749 MB / 1.192 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.7338, allocations: 0 / 1.192 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/0.7339, allocations: 60 kB / 1.192 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.746e-05/0.734, allocations: 50.55 kB / 1.192 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.7359, allocations: 1.395 MB / 1.193 GB, free: 11.87 MB / 0.9512 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.007273/0.7432, allocations: 7.308 MB / 1.201 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.7446, allocations: 1.051 MB / 1.202 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.205e-05/0.7446, allocations: 17 kB / 1.202 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.7447, allocations: 59.5 kB / 1.202 GB, free: 3 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009287/0.7456, allocations: 306.6 kB / 1.202 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=106): time 2.825e-06/0.7456, allocations: 0 / 1.202 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of matching and sorting (n=112): time 0.006711/0.7523, allocations: 4.408 MB / 1.206 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.366e-05/0.7524, allocations: 171.2 kB / 1.206 GB, free: 14 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.7537, allocations: 1.247 MB / 1.208 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.914e-05/0.7538, allocations: 49.7 kB / 1.208 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004415/0.7542, allocations: 0.7006 MB / 1.208 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002881/0.7545, allocations: 414.2 kB / 1.209 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-05/0.7546, allocations: 28 kB / 1.209 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.7547, allocations: 361.9 kB / 1.209 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006913/0.7554, allocations: 0.5075 MB / 1.21 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008886/0.7563, allocations: 0.8362 MB / 1.21 GB, free: 9.719 MB / 0.9669 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.008305/0.7646, allocations: 3.489 MB / 1.214 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.7646, allocations: 0 / 1.214 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002038/0.7667, allocations: 1.597 MB / 1.215 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.7667, allocations: 13.25 kB / 1.215 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.7667, allocations: 8 kB / 1.215 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.7667, allocations: 16.05 kB / 1.215 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.7678, allocations: 295.5 kB / 1.216 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.892e-05/0.7678, allocations: 19.92 kB / 1.216 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.769, allocations: 113.5 kB / 1.216 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.111e-05/0.7691, allocations: 63.97 kB / 1.216 GB, free: 4.062 MB / 0.9669 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.0005361/0.7696, allocations: 426.7 kB / 1.216 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002407/0.7699, allocations: 162 kB / 1.216 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001781/0.7717, allocations: 1.275 MB / 1.218 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.7717, allocations: 12 kB / 1.218 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.7717, allocations: 4 kB / 1.218 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001332/0.773, allocations: 1.225 MB / 1.219 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004739/0.7778, allocations: 3.746 MB / 1.223 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.7778, allocations: 15.94 kB / 1.223 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009834/0.7788, allocations: 243.7 kB / 1.223 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.341e-05/0.7788, allocations: 16 kB / 1.223 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.694e-05/0.7789, allocations: 36.59 kB / 1.223 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-05/0.7789, allocations: 27.8 kB / 1.223 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.809e-06/0.7789, allocations: 19.94 kB / 1.223 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002499/0.7814, allocations: 2.768 MB / 1.226 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005317/0.782, allocations: 358.9 kB / 1.226 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/0.7821, allocations: 35.98 kB / 1.226 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.7832, allocations: 91.78 kB / 1.226 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.7833, allocations: 100.3 kB / 1.226 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-05/0.7834, allocations: 51.98 kB / 1.226 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008879/0.7843, allocations: 0.8412 MB / 1.227 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7843, allocations: 0 / 1.227 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00103/0.7853, allocations: 436 kB / 1.227 GB, free: 7.324 MB / 0.9825 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.003679/0.789, allocations: 6.228 MB / 1.234 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001564/0.7906, allocations: 1.2 MB / 1.235 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/0.7906, allocations: 8 kB / 1.235 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006515/0.7913, allocations: 0.5407 MB / 1.235 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003284/0.7946, allocations: 0.8717 MB / 1.236 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006751/0.8013, allocations: 10.44 MB / 1.246 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008232/0.8022, allocations: 1.411 MB / 1.248 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001063/0.8032, allocations: 373.3 kB / 1.248 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000731/0.804, allocations: 0.636 MB / 1.249 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.804, allocations: 0 / 1.249 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.05/2.854, allocations: 41.4 MB / 1.289 GB, free: 238.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/2.854, allocations: 266.3 kB / 1.289 GB, free: 238.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.028/5.882, allocations: 0 / 1.289 GB, free: 238.5 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