Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_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.00151/0.00151, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001552/0.001553, allocations: 194.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002718/0.002718, allocations: 286.9 kB / 290.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.033/1.033, allocations: 178.6 MB / 0.5073 GB, free: 4.59 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002638/0.002638, allocations: 95.14 kB / 0.6065 GB, free: 24.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1528, allocations: 89.15 MB / 0.6936 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.491/0.6438, allocations: 222.6 MB / 0.911 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01704/0.6609, allocations: 12.12 MB / 0.9228 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001721/0.6626, allocations: 71.62 kB / 0.9229 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001977/0.6646, allocations: 0.8616 MB / 0.9237 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00619/0.6708, allocations: 2.859 MB / 0.9265 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003183/0.674, allocations: 1.428 MB / 0.9279 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004963/0.679, allocations: 4.461 MB / 0.9322 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00221/0.6812, allocations: 1.702 MB / 0.9339 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005416/0.6866, allocations: 2.477 MB / 0.9363 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003036/0.6897, allocations: 1.555 MB / 0.9378 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003346/0.69, allocations: 180 kB / 0.938 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004318/0.6944, allocations: 2.159 MB / 0.9401 GB, free: 14.85 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007217/0.6951, allocations: 0.7051 MB / 0.9408 GB, free: 14.14 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001228/0.6963, allocations: 1.054 MB / 0.9418 GB, free: 13.09 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004231/0.7006, allocations: 3.272 MB / 0.945 GB, free: 9.805 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.7006, allocations: 3.938 kB / 0.945 GB, free: 9.801 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7006, allocations: 0 / 0.945 GB, free: 9.801 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.31e-05/0.7006, allocations: 0 / 0.945 GB, free: 9.801 MB / 0.67 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.003612/0.7042, allocations: 2.278 MB / 0.9473 GB, free: 7.469 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.7043, allocations: 8.031 kB / 0.9473 GB, free: 7.461 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002674/0.7046, allocations: 214.8 kB / 0.9475 GB, free: 7.242 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003061/0.7076, allocations: 0.4894 MB / 0.948 GB, free: 6.75 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001977/0.7096, allocations: 1.259 MB / 0.9492 GB, free: 5.434 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.5e-05/0.7097, allocations: 106.8 kB / 0.9493 GB, free: 5.328 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/0.7099, allocations: 155.8 kB / 0.9494 GB, free: 5.176 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002661/0.7126, allocations: 1.76 MB / 0.9511 GB, free: 3.305 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.594e-05/0.7126, allocations: 7.938 kB / 0.9512 GB, free: 3.297 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/0.7128, allocations: 60 kB / 0.9512 GB, free: 3.238 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.795e-05/0.7129, allocations: 52.48 kB / 0.9513 GB, free: 3.188 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002244/0.7151, allocations: 1.399 MB / 0.9526 GB, free: 1.781 MB / 0.67 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.008718/0.7238, allocations: 7.335 MB / 0.9598 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.7255, allocations: 1.064 MB / 0.9608 GB, free: 8.953 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009897/0.7265, allocations: 0.6911 MB / 0.9615 GB, free: 8.254 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002148/0.7268, allocations: 114.1 kB / 0.9616 GB, free: 8.125 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.828e-05/0.7268, allocations: 59.44 kB / 0.9617 GB, free: 8.055 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001047/0.7279, allocations: 306.6 kB / 0.962 GB, free: 7.754 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=106): time 2.895e-06/0.7279, allocations: 4 kB / 0.962 GB, free: 7.75 MB / 0.6856 GB Notification: Performance of matching and sorting (n=112): time 0.008049/0.7359, allocations: 4.426 MB / 0.9663 GB, free: 3.246 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.589e-05/0.7361, allocations: 171.2 kB / 0.9665 GB, free: 3.043 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.7376, allocations: 1.271 MB / 0.9677 GB, free: 1.762 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.378e-05/0.7377, allocations: 53.7 kB / 0.9677 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000573/0.7383, allocations: 0.6968 MB / 0.9684 GB, free: 1 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003627/0.7387, allocations: 406.2 kB / 0.9688 GB, free: 0.5977 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003868/0.7391, allocations: 259.4 kB / 0.9691 GB, free: 348 kB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.7393, allocations: 353.9 kB / 0.9694 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008671/0.7401, allocations: 0.5309 MB / 0.9699 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.7413, allocations: 0.8553 MB / 0.9708 GB, free: 14.48 MB / 0.7012 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.01166/0.753, allocations: 4.809 MB / 0.9755 GB, free: 9.512 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/0.753, allocations: 5.312 kB / 0.9755 GB, free: 9.508 MB / 0.7012 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002666/0.7557, allocations: 1.62 MB / 0.977 GB, free: 7.879 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.7557, allocations: 11.94 kB / 0.977 GB, free: 7.867 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.7557, allocations: 11.98 kB / 0.9771 GB, free: 7.855 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.7557, allocations: 12 kB / 0.9771 GB, free: 7.844 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.7569, allocations: 287.6 kB / 0.9773 GB, free: 7.562 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-05/0.7569, allocations: 23.92 kB / 0.9774 GB, free: 7.539 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.7582, allocations: 48.17 kB / 0.9774 GB, free: 7.492 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.7583, allocations: 63.98 kB / 0.9775 GB, free: 7.43 MB / 0.7012 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.0006929/0.759, allocations: 432.4 kB / 0.9779 GB, free: 7 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003162/0.7593, allocations: 162.9 kB / 0.978 GB, free: 6.84 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002206/0.7615, allocations: 1.291 MB / 0.9793 GB, free: 5.531 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.7616, allocations: 12 kB / 0.9793 GB, free: 5.52 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.7616, allocations: 0 / 0.9793 GB, free: 5.52 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001672/0.7632, allocations: 1.241 MB / 0.9805 GB, free: 4.211 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00585/0.7691, allocations: 3.769 MB / 0.9842 GB, free: 248 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/0.7691, allocations: 8 kB / 0.9842 GB, free: 240 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/0.7703, allocations: 248.5 kB / 0.9845 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.651e-05/0.7703, allocations: 16 kB / 0.9845 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-05/0.7704, allocations: 39.94 kB / 0.9845 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.901e-05/0.7704, allocations: 19.88 kB / 0.9845 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/0.7704, allocations: 16.38 kB / 0.9845 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002865/0.7733, allocations: 2.117 MB / 0.9866 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005857/0.7739, allocations: 363 kB / 0.987 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/0.7741, allocations: 36.38 kB / 0.987 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.7752, allocations: 53.19 kB / 0.987 GB, free: 13.17 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.7753, allocations: 104.2 kB / 0.9871 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.052e-05/0.7754, allocations: 59.98 kB / 0.9872 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001118/0.7765, allocations: 0.849 MB / 0.988 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7766, allocations: 0 / 0.988 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001237/0.7778, allocations: 436 kB / 0.9884 GB, free: 11.73 MB / 0.7169 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 (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.00346/0.7813, allocations: 2.802 MB / 0.9912 GB, free: 8.789 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002483/0.7838, allocations: 1.43 MB / 0.9926 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.7838, allocations: 0 / 0.9926 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008253/0.7846, allocations: 0.5565 MB / 0.9931 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004035/0.7886, allocations: 0.935 MB / 0.994 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01837/0.807, allocations: 13.75 MB / 1.007 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/0.8082, allocations: 1.376 MB / 1.009 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001415/0.8096, allocations: 389.3 kB / 1.009 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009203/0.8105, allocations: 0.6438 MB / 1.01 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of SimCode: time 8.02e-07/0.8105, allocations: 0 / 1.01 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3102/1.121, allocations: 42.94 MB / 1.052 GB, free: 283.7 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.287/9.408, allocations: 12.84 kB / 1.052 GB, free: 283.7 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)