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.001028/0.001031, allocations: 104 kB / 15.61 MB, free: 148 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.00099/0.00099, allocations: 196.5 kB / 16.54 MB, free: 6.684 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.248/1.248, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002006/0.002006, allocations: 279.2 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9217/0.9217, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 96.58 kB / 0.5953 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1331, allocations: 86.98 MB / 0.6803 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.4535/0.5866, allocations: 222.6 MB / 0.8976 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01513/0.6018, allocations: 12.1 MB / 0.9095 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002072/0.6039, allocations: 75.03 kB / 0.9095 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.6057, allocations: 0.8601 MB / 0.9104 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005636/0.6114, allocations: 2.868 MB / 0.9132 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002807/0.6142, allocations: 1.422 MB / 0.9146 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003921/0.6182, allocations: 4.45 MB / 0.9189 GB, free: 2.969 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/0.6199, allocations: 1.717 MB / 0.9206 GB, free: 1.215 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004102/0.624, allocations: 2.47 MB / 0.923 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002065/0.6261, allocations: 1.559 MB / 0.9245 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002667/0.6264, allocations: 180 kB / 0.9247 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003557/0.6299, allocations: 2.159 MB / 0.9268 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005879/0.6305, allocations: 0.709 MB / 0.9275 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009874/0.6315, allocations: 1.042 MB / 0.9285 GB, free: 9.105 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003439/0.635, allocations: 3.287 MB / 0.9317 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.635, allocations: 0 / 0.9317 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.202e-06/0.635, allocations: 0 / 0.9317 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.217e-05/0.635, allocations: 0 / 0.9317 GB, free: 5.809 MB / 0.6387 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.003164/0.6382, allocations: 2.281 MB / 0.9339 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.6382, allocations: 12.03 kB / 0.934 GB, free: 3.461 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002245/0.6385, allocations: 202.8 kB / 0.9341 GB, free: 3.254 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002782/0.6412, allocations: 0.5011 MB / 0.9346 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/0.643, allocations: 1.259 MB / 0.9359 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.13e-05/0.6431, allocations: 106.8 kB / 0.936 GB, free: 1.328 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.6433, allocations: 151.9 kB / 0.9361 GB, free: 1.18 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002345/0.6456, allocations: 1.764 MB / 0.9378 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.25e-05/0.6457, allocations: 3.938 kB / 0.9378 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/0.6458, allocations: 60 kB / 0.9379 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.166e-05/0.6459, allocations: 54.53 kB / 0.9379 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002055/0.6479, allocations: 1.399 MB / 0.9393 GB, free: 13.78 MB / 0.6544 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.007352/0.6553, allocations: 7.34 MB / 0.9465 GB, free: 6.059 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.6568, allocations: 1.05 MB / 0.9475 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008893/0.6577, allocations: 0.6984 MB / 0.9482 GB, free: 4.262 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001975/0.6579, allocations: 114.2 kB / 0.9483 GB, free: 4.133 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.6579, allocations: 51.5 kB / 0.9483 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009102/0.6588, allocations: 310.5 kB / 0.9486 GB, free: 3.77 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=106): time 2.735e-06/0.6589, allocations: 3.938 kB / 0.9486 GB, free: 3.766 MB / 0.6544 GB Notification: Performance of matching and sorting (n=112): time 0.007377/0.6662, allocations: 4.436 MB / 0.953 GB, free: 15.25 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/0.6663, allocations: 175.1 kB / 0.9531 GB, free: 15.04 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.6677, allocations: 1.259 MB / 0.9544 GB, free: 13.77 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.94e-05/0.6678, allocations: 49.7 kB / 0.9544 GB, free: 13.71 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004681/0.6682, allocations: 0.7045 MB / 0.9551 GB, free: 13 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002934/0.6685, allocations: 398.2 kB / 0.9555 GB, free: 12.61 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003441/0.6689, allocations: 263.4 kB / 0.9557 GB, free: 12.35 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.669, allocations: 358 kB / 0.9561 GB, free: 11.99 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007689/0.6698, allocations: 0.5309 MB / 0.9566 GB, free: 11.46 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009682/0.6708, allocations: 0.856 MB / 0.9574 GB, free: 10.48 MB / 0.67 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.0108/0.6816, allocations: 4.814 MB / 0.9621 GB, free: 5.516 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.6816, allocations: 0 / 0.9621 GB, free: 5.516 MB / 0.67 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002214/0.6838, allocations: 1.615 MB / 0.9637 GB, free: 3.891 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.6838, allocations: 8 kB / 0.9637 GB, free: 3.883 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.6838, allocations: 8.875 kB / 0.9637 GB, free: 3.875 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.6839, allocations: 16 kB / 0.9637 GB, free: 3.859 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.685, allocations: 295.5 kB / 0.964 GB, free: 3.57 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.112e-05/0.685, allocations: 19.94 kB / 0.9641 GB, free: 3.551 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.6862, allocations: 53.23 kB / 0.9641 GB, free: 3.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.751e-05/0.6863, allocations: 63.97 kB / 0.9642 GB, free: 3.438 MB / 0.67 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.0005507/0.6868, allocations: 423.3 kB / 0.9646 GB, free: 3.016 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000287/0.6871, allocations: 162 kB / 0.9647 GB, free: 2.855 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001929/0.6891, allocations: 1.299 MB / 0.966 GB, free: 1.543 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.6891, allocations: 12 kB / 0.966 GB, free: 1.531 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.6891, allocations: 5.125 kB / 0.966 GB, free: 1.527 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001441/0.6906, allocations: 1.24 MB / 0.9672 GB, free: 228 kB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005159/0.6957, allocations: 3.769 MB / 0.9709 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.6957, allocations: 9 kB / 0.9709 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.6968, allocations: 243.6 kB / 0.9711 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.375e-05/0.6969, allocations: 20 kB / 0.9712 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.976e-05/0.6969, allocations: 43.92 kB / 0.9712 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-05/0.697, allocations: 19.94 kB / 0.9712 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.195e-05/0.697, allocations: 17.06 kB / 0.9712 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002475/0.6995, allocations: 2.117 MB / 0.9733 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004992/0.7, allocations: 355 kB / 0.9736 GB, free: 9.266 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/0.7002, allocations: 39.92 kB / 0.9737 GB, free: 9.227 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.7012, allocations: 45.3 kB / 0.9737 GB, free: 9.184 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.7013, allocations: 108.3 kB / 0.9738 GB, free: 9.078 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.771e-05/0.7014, allocations: 51.98 kB / 0.9739 GB, free: 9.027 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009846/0.7024, allocations: 0.8528 MB / 0.9747 GB, free: 8.176 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7024, allocations: 3.938 kB / 0.9747 GB, free: 8.172 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001142/0.7036, allocations: 432.1 kB / 0.9751 GB, free: 7.75 MB / 0.6856 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.003033/0.7066, allocations: 2.82 MB / 0.9779 GB, free: 4.785 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002194/0.7088, allocations: 1.427 MB / 0.9793 GB, free: 3.359 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/0.7088, allocations: 4 kB / 0.9793 GB, free: 3.355 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007162/0.7096, allocations: 0.5446 MB / 0.9798 GB, free: 2.812 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00378/0.7133, allocations: 0.9346 MB / 0.9807 GB, free: 1.906 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01547/0.7288, allocations: 13.75 MB / 0.9941 GB, free: 3.195 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008639/0.7297, allocations: 1.372 MB / 0.9955 GB, free: 1.789 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001306/0.731, allocations: 385.3 kB / 0.9959 GB, free: 1.406 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008024/0.7318, allocations: 0.6423 MB / 0.9965 GB, free: 0.7695 MB / 0.7012 GB Notification: Performance of SimCode: time 6.02e-07/0.7318, allocations: 0 / 0.9965 GB, free: 0.7695 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06531/0.7972, allocations: 42.96 MB / 1.038 GB, free: 6.434 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.816/8.613, allocations: 8.25 kB / 1.038 GB, free: 6.43 MB / 0.7481 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)