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.001263/0.001263, allocations: 109.8 kB / 16.41 MB, free: 6.5 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.001212/0.001212, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8054/0.8054, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 68.3 kB / 0.5736 GB, free: 27.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1349, allocations: 78.87 MB / 0.6506 GB, free: 3.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.529/0.6639, allocations: 222.7 MB / 0.8681 GB, free: 4.609 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01798/0.682, allocations: 12.13 MB / 0.8799 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002531/0.6845, allocations: 75.56 kB / 0.88 GB, free: 8.367 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002173/0.6867, allocations: 0.8577 MB / 0.8808 GB, free: 7.504 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007211/0.694, allocations: 2.857 MB / 0.8836 GB, free: 4.637 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003462/0.6975, allocations: 1.443 MB / 0.885 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005839/0.7033, allocations: 4.448 MB / 0.8894 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002273/0.7056, allocations: 1.711 MB / 0.891 GB, free: 13 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006241/0.7118, allocations: 2.711 MB / 0.8937 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003014/0.7149, allocations: 1.531 MB / 0.8952 GB, free: 8.773 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000326/0.7152, allocations: 180 kB / 0.8953 GB, free: 8.598 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004449/0.7197, allocations: 2.155 MB / 0.8974 GB, free: 6.438 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000747/0.7204, allocations: 0.7051 MB / 0.8981 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001267/0.7217, allocations: 1.058 MB / 0.8992 GB, free: 4.668 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004835/0.7265, allocations: 3.344 MB / 0.9024 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.7266, allocations: 3.938 kB / 0.9024 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.424e-06/0.7266, allocations: 0 / 0.9024 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.264e-05/0.7266, allocations: 0 / 0.9024 GB, free: 1.309 MB / 0.6544 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.003692/0.7303, allocations: 2.34 MB / 0.9047 GB, free: 14.91 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.7303, allocations: 8.031 kB / 0.9047 GB, free: 14.9 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000259/0.7306, allocations: 206.8 kB / 0.9049 GB, free: 14.69 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002893/0.7335, allocations: 0.5061 MB / 0.9054 GB, free: 14.18 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/0.7356, allocations: 1.357 MB / 0.9067 GB, free: 12.77 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.769e-05/0.7357, allocations: 110.8 kB / 0.9069 GB, free: 12.66 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000212/0.736, allocations: 152 kB / 0.907 GB, free: 12.51 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002678/0.7387, allocations: 1.756 MB / 0.9087 GB, free: 10.64 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.7387, allocations: 7.891 kB / 0.9087 GB, free: 10.64 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/0.7388, allocations: 63.98 kB / 0.9088 GB, free: 10.57 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-05/0.7389, allocations: 50.55 kB / 0.9088 GB, free: 10.52 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002267/0.7412, allocations: 1.403 MB / 0.9102 GB, free: 9.113 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.008597/0.7498, allocations: 7.534 MB / 0.9176 GB, free: 1.141 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/0.7515, allocations: 1.044 MB / 0.9186 GB, free: 56 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.7525, allocations: 0.6945 MB / 0.9193 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002238/0.7527, allocations: 118.2 kB / 0.9194 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.7528, allocations: 55.56 kB / 0.9194 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001009/0.7538, allocations: 302.9 kB / 0.9197 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=106): time 3.166e-06/0.7538, allocations: 4 kB / 0.9197 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of matching and sorting (n=112): time 0.008055/0.7619, allocations: 4.528 MB / 0.9241 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.762, allocations: 183 kB / 0.9243 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/0.7636, allocations: 1.259 MB / 0.9255 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.054e-05/0.7637, allocations: 53.83 kB / 0.9256 GB, free: 8.707 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005979/0.7643, allocations: 0.7098 MB / 0.9263 GB, free: 7.992 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003861/0.7647, allocations: 424.4 kB / 0.9267 GB, free: 7.574 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003961/0.7651, allocations: 263.5 kB / 0.9269 GB, free: 7.312 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.7653, allocations: 353.9 kB / 0.9273 GB, free: 6.961 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008521/0.7661, allocations: 0.5309 MB / 0.9278 GB, free: 6.43 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.7673, allocations: 0.8479 MB / 0.9286 GB, free: 5.457 MB / 0.6856 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.01151/0.7788, allocations: 4.798 MB / 0.9333 GB, free: 0.5 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.7788, allocations: 4 kB / 0.9333 GB, free: 0.4961 MB / 0.6856 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002639/0.7815, allocations: 1.625 MB / 0.9349 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.7815, allocations: 16 kB / 0.9349 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.7815, allocations: 8 kB / 0.9349 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/0.7815, allocations: 12 kB / 0.9349 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.7827, allocations: 303.5 kB / 0.9352 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.289e-05/0.7827, allocations: 19.94 kB / 0.9352 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.7839, allocations: 44.94 kB / 0.9353 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.784, allocations: 67.95 kB / 0.9354 GB, free: 14.4 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.0007045/0.7847, allocations: 435.2 kB / 0.9358 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003064/0.785, allocations: 170.9 kB / 0.9359 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/0.7872, allocations: 1.291 MB / 0.9372 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.7872, allocations: 15.94 kB / 0.9372 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.7872, allocations: 0 / 0.9372 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001654/0.7889, allocations: 1.244 MB / 0.9384 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005653/0.7946, allocations: 3.762 MB / 0.9421 GB, free: 7.203 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/0.7946, allocations: 16.25 kB / 0.9421 GB, free: 7.188 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/0.7957, allocations: 247.6 kB / 0.9423 GB, free: 6.945 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.886e-05/0.7957, allocations: 16 kB / 0.9424 GB, free: 6.93 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.047e-05/0.7958, allocations: 43.92 kB / 0.9424 GB, free: 6.887 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.627e-05/0.7958, allocations: 15.94 kB / 0.9424 GB, free: 6.871 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.49e-05/0.7959, allocations: 15.94 kB / 0.9424 GB, free: 6.855 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002842/0.7987, allocations: 2.13 MB / 0.9445 GB, free: 4.578 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005514/0.7993, allocations: 375.8 kB / 0.9449 GB, free: 4.191 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000191/0.7995, allocations: 35.98 kB / 0.9449 GB, free: 4.156 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.8005, allocations: 47.84 kB / 0.945 GB, free: 4.113 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.8006, allocations: 104.3 kB / 0.9451 GB, free: 4.012 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.092e-05/0.8007, allocations: 55.98 kB / 0.9451 GB, free: 3.957 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001094/0.8018, allocations: 0.849 MB / 0.9459 GB, free: 3.109 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8019, allocations: 0 / 0.9459 GB, free: 3.109 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001189/0.803, allocations: 435.9 kB / 0.9463 GB, free: 2.684 MB / 0.7012 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.003502/0.8066, allocations: 2.819 MB / 0.9491 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001989/0.8086, allocations: 1.251 MB / 0.9503 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.8086, allocations: 0 / 0.9503 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008337/0.8094, allocations: 0.5565 MB / 0.9509 GB, free: 13.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003933/0.8134, allocations: 0.9299 MB / 0.9518 GB, free: 13 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01742/0.8308, allocations: 12.72 MB / 0.9642 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.8319, allocations: 1.372 MB / 0.9655 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001318/0.8332, allocations: 393.2 kB / 0.9659 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009236/0.8341, allocations: 0.6424 MB / 0.9665 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of SimCode: time 7.71e-07/0.8342, allocations: 0 / 0.9665 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0821/0.9163, allocations: 43.25 MB / 1.009 GB, free: 2.395 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.26/16.18, allocations: 6.641 kB / 1.009 GB, free: 2.391 MB / 0.7637 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)