Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_8_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.001116/0.001116, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001133/0.001133, allocations: 189.8 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.13/1.13, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.526/1.526, allocations: 292.3 MB / 0.5484 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 67 kB / 0.6709 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1775, allocations: 114.6 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.5346/0.7121, allocations: 220.3 MB / 0.998 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01392/0.7261, allocations: 12.14 MB / 1.01 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002511/0.7286, allocations: 62.75 kB / 1.01 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002118/0.7307, allocations: 0.7116 MB / 1.011 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007516/0.7383, allocations: 2.683 MB / 1.013 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002931/0.7412, allocations: 1.268 MB / 1.014 GB, free: 108 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005713/0.747, allocations: 6.042 MB / 1.02 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001778/0.7488, allocations: 1.479 MB / 1.022 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004895/0.7537, allocations: 2.205 MB / 1.024 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003043/0.7567, allocations: 1.593 MB / 1.025 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002991/0.757, allocations: 103.7 kB / 1.026 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004418/0.7615, allocations: 2.464 MB / 1.028 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000584/0.7621, allocations: 0.6296 MB / 1.029 GB, free: 9.809 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.7631, allocations: 0.9578 MB / 1.03 GB, free: 9.219 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00391/0.767, allocations: 3.329 MB / 1.033 GB, free: 7.211 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.767, allocations: 0 / 1.033 GB, free: 7.211 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.002e-06/0.767, allocations: 2 kB / 1.033 GB, free: 7.211 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.126e-05/0.7671, allocations: 7.938 kB / 1.033 GB, free: 7.203 MB / 0.7481 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.003329/0.7704, allocations: 2.26 MB / 1.035 GB, free: 5.586 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.7704, allocations: 11.41 kB / 1.035 GB, free: 5.586 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002308/0.7707, allocations: 208.8 kB / 1.035 GB, free: 5.422 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002844/0.7735, allocations: 0.5006 MB / 1.036 GB, free: 5.191 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001698/0.7752, allocations: 1.228 MB / 1.037 GB, free: 4.293 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.417e-05/0.7753, allocations: 111.9 kB / 1.037 GB, free: 4.242 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/0.7755, allocations: 151.4 kB / 1.037 GB, free: 4.188 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002329/0.7778, allocations: 1.76 MB / 1.039 GB, free: 3.02 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/0.7779, allocations: 11.33 kB / 1.039 GB, free: 3.012 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.778, allocations: 57.5 kB / 1.039 GB, free: 2.969 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.443e-05/0.7781, allocations: 50.14 kB / 1.039 GB, free: 2.965 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/0.78, allocations: 1.395 MB / 1.04 GB, free: 2.266 MB / 0.7481 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.007093/0.7871, allocations: 7.275 MB / 1.047 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.7884, allocations: 1.02 MB / 1.048 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008203/0.7892, allocations: 0.6955 MB / 1.049 GB, free: 11.12 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001953/0.7894, allocations: 119.1 kB / 1.049 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.7895, allocations: 48.39 kB / 1.049 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009706/0.7904, allocations: 306.4 kB / 1.05 GB, free: 10.78 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=106): time 2.745e-06/0.7905, allocations: 0 / 1.05 GB, free: 10.78 MB / 0.7637 GB Notification: Performance of matching and sorting (n=112): time 0.006574/0.797, allocations: 4.291 MB / 1.054 GB, free: 7.246 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.126e-05/0.7971, allocations: 171.2 kB / 1.054 GB, free: 7.043 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.7985, allocations: 1.242 MB / 1.055 GB, free: 5.789 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 8.397e-05/0.7986, allocations: 53.7 kB / 1.055 GB, free: 5.73 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004552/0.799, allocations: 0.6969 MB / 1.056 GB, free: 5.031 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003097/0.7993, allocations: 399 kB / 1.056 GB, free: 4.645 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003483/0.7997, allocations: 263.3 kB / 1.057 GB, free: 4.383 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.7998, allocations: 357.9 kB / 1.057 GB, free: 4.027 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007604/0.8006, allocations: 0.5114 MB / 1.057 GB, free: 3.516 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009528/0.8015, allocations: 0.843 MB / 1.058 GB, free: 2.547 MB / 0.7637 GB 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) 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: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/0.8122, allocations: 4.726 MB / 1.063 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.8123, allocations: 4 kB / 1.063 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002464/0.8147, allocations: 1.588 MB / 1.064 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.8148, allocations: 12.94 kB / 1.064 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.8148, allocations: 8 kB / 1.064 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.687e-05/0.8148, allocations: 20 kB / 1.064 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.816, allocations: 299.5 kB / 1.065 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.211e-05/0.816, allocations: 16.72 kB / 1.065 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.8175, allocations: 102.4 kB / 1.065 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.8176, allocations: 59.98 kB / 1.065 GB, free: 11.55 MB / 0.7794 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol2.dynBal.medium.p = vol2.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007246/0.8184, allocations: 428.3 kB / 1.065 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000303/0.8187, allocations: 158.1 kB / 1.065 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/0.8207, allocations: 1.283 MB / 1.067 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.8207, allocations: 15.94 kB / 1.067 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.8207, allocations: 4 kB / 1.067 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001526/0.8223, allocations: 1.229 MB / 1.068 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005381/0.8277, allocations: 3.726 MB / 1.072 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.8277, allocations: 8.969 kB / 1.072 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.8288, allocations: 259.6 kB / 1.072 GB, free: 4.199 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.306e-05/0.8288, allocations: 16 kB / 1.072 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.296e-05/0.8289, allocations: 36 kB / 1.072 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.648e-05/0.8289, allocations: 26.11 kB / 1.072 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.117e-05/0.8289, allocations: 15.94 kB / 1.072 GB, free: 4.109 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002544/0.8315, allocations: 2.191 MB / 1.074 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005613/0.8321, allocations: 358.9 kB / 1.074 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/0.8323, allocations: 39.98 kB / 1.074 GB, free: 1.348 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.8334, allocations: 90.73 kB / 1.074 GB, free: 1.262 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.8335, allocations: 100.2 kB / 1.075 GB, free: 1.164 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.962e-05/0.8336, allocations: 55.98 kB / 1.075 GB, free: 1.109 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0009608/0.8346, allocations: 0.8445 MB / 1.075 GB, free: 272 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8346, allocations: 0 / 1.075 GB, free: 272 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001218/0.8358, allocations: 428 kB / 1.076 GB, free: 15.84 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.U,vol.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1],vol2.dynBal.U,vol2.dynBal.mXi[1],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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003083/0.8389, allocations: 2.874 MB / 1.079 GB, free: 12.83 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001715/0.8406, allocations: 1.212 MB / 1.08 GB, free: 11.62 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.8406, allocations: 8.125 kB / 1.08 GB, free: 11.61 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0006986/0.8413, allocations: 0.5406 MB / 1.08 GB, free: 11.07 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003559/0.8449, allocations: 0.8967 MB / 1.081 GB, free: 10.19 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01765/0.8626, allocations: 14.15 MB / 1.095 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008976/0.8635, allocations: 1.368 MB / 1.096 GB, free: 9.711 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001454/0.865, allocations: 381.2 kB / 1.097 GB, free: 9.332 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007788/0.8657, allocations: 0.636 MB / 1.097 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of SimCode: time 6.31e-07/0.8657, allocations: 0 / 1.097 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.619/5.485, allocations: 41.17 MB / 1.138 GB, free: 80 kB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002623/5.485, allocations: 274.8 kB / 1.138 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.82/9.305, allocations: 4 kB / 1.138 GB, free: 15.7 MB / 0.8575 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)