Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_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.001326/0.001326, allocations: 108.9 kB / 16.27 MB, free: 6.004 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.001342/0.001342, allocations: 186.1 kB / 17.2 MB, free: 5.617 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.277/1.277, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7149/0.7149, allocations: 122.8 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 67.91 kB / 0.4912 GB, free: 7.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3011, allocations: 77.93 MB / 0.5673 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.4705/0.7716, allocations: 222.6 MB / 0.7846 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01375/0.7854, allocations: 12.13 MB / 0.7965 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00264/0.7881, allocations: 77.06 kB / 0.7965 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001805/0.7899, allocations: 0.8509 MB / 0.7974 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00599/0.796, allocations: 2.871 MB / 0.8002 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002716/0.7987, allocations: 1.42 MB / 0.8016 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003843/0.8025, allocations: 4.447 MB / 0.8059 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001806/0.8044, allocations: 1.716 MB / 0.8076 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004285/0.8087, allocations: 2.461 MB / 0.81 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00203/0.8107, allocations: 1.554 MB / 0.8115 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002602/0.811, allocations: 179.3 kB / 0.8117 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003621/0.8146, allocations: 2.166 MB / 0.8138 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005584/0.8152, allocations: 0.7059 MB / 0.8145 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009101/0.8161, allocations: 1.042 MB / 0.8155 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003445/0.8195, allocations: 3.273 MB / 0.8187 GB, free: 108 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8196, allocations: 4.344 kB / 0.8187 GB, free: 108 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8196, allocations: 1.188 kB / 0.8187 GB, free: 108 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.76e-05/0.8196, allocations: 0 / 0.8187 GB, free: 108 kB / 0.5762 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.003226/0.8228, allocations: 2.279 MB / 0.8209 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.8229, allocations: 11.78 kB / 0.8209 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002171/0.8231, allocations: 210.6 kB / 0.8211 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002764/0.8259, allocations: 0.4925 MB / 0.8216 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/0.8276, allocations: 1.256 MB / 0.8228 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-05/0.8277, allocations: 115.2 kB / 0.823 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001891/0.8279, allocations: 150.4 kB / 0.8231 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002253/0.8302, allocations: 1.764 MB / 0.8248 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/0.8302, allocations: 9.938 kB / 0.8248 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.8303, allocations: 59.03 kB / 0.8249 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.386e-05/0.8304, allocations: 48.33 kB / 0.8249 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.8323, allocations: 1.397 MB / 0.8263 GB, free: 13.56 MB / 0.5919 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.007609/0.8399, allocations: 7.342 MB / 0.8335 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.8413, allocations: 1.06 MB / 0.8345 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008614/0.8422, allocations: 0.6935 MB / 0.8352 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000195/0.8424, allocations: 109.6 kB / 0.8353 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.8424, allocations: 55.34 kB / 0.8353 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000954/0.8434, allocations: 310.9 kB / 0.8356 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=106): time 2.845e-06/0.8434, allocations: 0 / 0.8356 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of matching and sorting (n=112): time 0.007265/0.8507, allocations: 4.444 MB / 0.84 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.082e-05/0.8508, allocations: 174.8 kB / 0.8401 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/0.8522, allocations: 1.256 MB / 0.8414 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.8523, allocations: 53.7 kB / 0.8414 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005243/0.8529, allocations: 0.7021 MB / 0.8421 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003332/0.8532, allocations: 402 kB / 0.8425 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003912/0.8536, allocations: 259.4 kB / 0.8427 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.8538, allocations: 353.9 kB / 0.8431 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000823/0.8546, allocations: 0.5349 MB / 0.8436 GB, free: 100 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.8557, allocations: 0.8608 MB / 0.8444 GB, free: 15.12 MB / 0.6075 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.01119/0.8669, allocations: 4.798 MB / 0.8491 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.8669, allocations: 6.625 kB / 0.8491 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002472/0.8694, allocations: 1.609 MB / 0.8507 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.8694, allocations: 11.98 kB / 0.8507 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.8694, allocations: 11.94 kB / 0.8507 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.8694, allocations: 16.75 kB / 0.8507 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.8706, allocations: 285.7 kB / 0.851 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.466e-05/0.8706, allocations: 29.14 kB / 0.851 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.8719, allocations: 48.5 kB / 0.8511 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.8721, allocations: 59.98 kB / 0.8511 GB, free: 8.188 MB / 0.6075 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.0006784/0.8727, allocations: 424.3 kB / 0.8515 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003559/0.8731, allocations: 162 kB / 0.8517 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002094/0.8752, allocations: 1.297 MB / 0.853 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.8752, allocations: 16 kB / 0.853 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.8752, allocations: 4 kB / 0.853 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00154/0.8768, allocations: 1.235 MB / 0.8542 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005494/0.8823, allocations: 3.781 MB / 0.8579 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/0.8823, allocations: 8 kB / 0.8579 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.8834, allocations: 252 kB / 0.8581 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.71e-05/0.8835, allocations: 20 kB / 0.8581 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.707e-05/0.8835, allocations: 36 kB / 0.8582 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.715e-05/0.8836, allocations: 25.05 kB / 0.8582 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-06/0.8836, allocations: 14.62 kB / 0.8582 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002653/0.8862, allocations: 2.119 MB / 0.8603 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005834/0.8868, allocations: 359 kB / 0.8606 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002276/0.8871, allocations: 44 kB / 0.8607 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.8881, allocations: 42 kB / 0.8607 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.8883, allocations: 104.1 kB / 0.8608 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.072e-05/0.8884, allocations: 50.52 kB / 0.8609 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001081/0.8895, allocations: 0.8529 MB / 0.8617 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.21e-07/0.8895, allocations: 0 / 0.8617 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001293/0.8908, allocations: 436 kB / 0.8621 GB, free: 12.65 MB / 0.6231 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.003425/0.8942, allocations: 2.792 MB / 0.8648 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002351/0.8966, allocations: 1.437 MB / 0.8662 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.8966, allocations: 0.625 kB / 0.8662 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007484/0.8973, allocations: 0.5492 MB / 0.8668 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003984/0.9013, allocations: 0.9361 MB / 0.8677 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01777/0.9191, allocations: 13.76 MB / 0.8811 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/0.9203, allocations: 1.372 MB / 0.8825 GB, free: 6.949 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001592/0.9219, allocations: 383.9 kB / 0.8828 GB, free: 6.57 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009177/0.9228, allocations: 0.6438 MB / 0.8835 GB, free: 5.926 MB / 0.6387 GB Notification: Performance of SimCode: time 7.81e-07/0.9228, allocations: 0 / 0.8835 GB, free: 5.926 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06815/0.991, allocations: 42.93 MB / 0.9254 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.063/9.054, allocations: 10.16 kB / 0.9254 GB, free: 11.57 MB / 0.6856 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)