Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.001531/0.001531, 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.001558/0.001558, allocations: 194.4 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002406/0.002406, allocations: 287.1 kB / 290.7 MB, free: 1.852 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.024/1.024, allocations: 178.6 MB / 0.5073 GB, free: 4.547 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002614/0.002614, allocations: 101 kB / 0.6065 GB, free: 24.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1437, allocations: 89.14 MB / 0.6936 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.4376/0.5813, allocations: 170.8 MB / 0.8604 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005432/0.5868, allocations: 3.389 MB / 0.8637 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006854/0.5875, allocations: 20.84 kB / 0.8637 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000893/0.5884, allocations: 309 kB / 0.864 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002249/0.5907, allocations: 1.016 MB / 0.865 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.5923, allocations: 0.6619 MB / 0.8656 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001726/0.594, allocations: 1.521 MB / 0.8671 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006141/0.5946, allocations: 485.9 kB / 0.8676 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000802/0.5955, allocations: 0.5678 MB / 0.8681 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008987/0.5964, allocations: 462.6 kB / 0.8686 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.185e-05/0.5965, allocations: 53.22 kB / 0.8686 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001449/0.5979, allocations: 0.8328 MB / 0.8694 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002375/0.5982, allocations: 236.9 kB / 0.8697 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003278/0.5985, allocations: 339.1 kB / 0.87 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.5999, allocations: 1.115 MB / 0.8711 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5999, allocations: 0 / 0.8711 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5999, allocations: 0 / 0.8711 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.5999, allocations: 0 / 0.8711 GB, free: 3.449 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001421/0.6013, allocations: 0.9238 MB / 0.872 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.6014, allocations: 10.09 kB / 0.872 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001172/0.6015, allocations: 85.61 kB / 0.8721 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/0.6027, allocations: 174.5 kB / 0.8722 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007611/0.6035, allocations: 0.5014 MB / 0.8727 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/0.6035, allocations: 30.41 kB / 0.8728 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-05/0.6036, allocations: 47.14 kB / 0.8728 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007722/0.6044, allocations: 480.2 kB / 0.8733 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/0.6044, allocations: 3.984 kB / 0.8733 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.307e-05/0.6045, allocations: 21.56 kB / 0.8733 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.6045, allocations: 13.28 kB / 0.8733 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006253/0.6051, allocations: 418 kB / 0.8737 GB, free: 1.582 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.002475/0.6076, allocations: 1.736 MB / 0.8754 GB, free: 144 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004779/0.6081, allocations: 301.4 kB / 0.8757 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.6084, allocations: 178.9 kB / 0.8758 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001742/0.6086, allocations: 96.41 kB / 0.8759 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.6086, allocations: 44.84 kB / 0.876 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 3.617e-06/0.6086, allocations: 4 kB / 0.876 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.001886/0.6105, allocations: 1.055 MB / 0.877 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.6106, allocations: 58.22 kB / 0.8771 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004623/0.611, allocations: 459.8 kB / 0.8775 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.072e-05/0.6111, allocations: 36.77 kB / 0.8775 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.6113, allocations: 247.8 kB / 0.8778 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.6114, allocations: 121.4 kB / 0.8779 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.6115, allocations: 69.33 kB / 0.878 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.6117, allocations: 359 kB / 0.8783 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.6119, allocations: 123.6 kB / 0.8784 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/0.6122, allocations: 193.9 kB / 0.8786 GB, free: 13.66 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 (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00195/0.6141, allocations: 0.8629 MB / 0.8795 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.6141, allocations: 6.312 kB / 0.8795 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006162/0.6148, allocations: 412.7 kB / 0.8799 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.6148, allocations: 7.984 kB / 0.8799 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.6148, allocations: 4 kB / 0.8799 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.6148, allocations: 4 kB / 0.8799 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003011/0.6151, allocations: 75.84 kB / 0.8799 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.6151, allocations: 0 / 0.8799 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003631/0.6155, allocations: 16.19 kB / 0.88 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.6155, allocations: 12 kB / 0.88 GB, free: 12.23 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * 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.0002471/0.6158, allocations: 209.7 kB / 0.8802 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.584e-05/0.6159, allocations: 55.36 kB / 0.8802 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.616, allocations: 64.75 kB / 0.8803 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.616, allocations: 4 kB / 0.8803 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.616, allocations: 0 / 0.8803 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005246/0.6166, allocations: 400.3 kB / 0.8807 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/0.6184, allocations: 1.253 MB / 0.8819 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.6184, allocations: 4 kB / 0.8819 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003396/0.6188, allocations: 75.91 kB / 0.882 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.6188, allocations: 4 kB / 0.882 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/0.6188, allocations: 12.5 kB / 0.882 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.56e-05/0.6188, allocations: 17.86 kB / 0.882 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/0.6188, allocations: 4 kB / 0.882 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000892/0.6197, allocations: 0.7132 MB / 0.8827 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002156/0.62, allocations: 164.5 kB / 0.8829 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.186e-05/0.62, allocations: 19.92 kB / 0.8829 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003911/0.6204, allocations: 12 kB / 0.8829 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.6205, allocations: 35.97 kB / 0.8829 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.076e-05/0.6206, allocations: 19.98 kB / 0.8829 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003768/0.6209, allocations: 331.1 kB / 0.8833 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6209, allocations: 0 / 0.8833 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005214/0.6215, allocations: 140 kB / 0.8834 GB, free: 8.492 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (33): * Single equations (assignments): 33 * 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.001441/0.6229, allocations: 1.314 MB / 0.8847 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005893/0.6235, allocations: 350 kB / 0.885 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6235, allocations: 0 / 0.885 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.6238, allocations: 161 kB / 0.8852 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/0.6255, allocations: 373.5 kB / 0.8855 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005628/0.6311, allocations: 4.467 MB / 0.8899 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005385/0.6317, allocations: 0.8899 MB / 0.8907 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004886/0.6322, allocations: 132.6 kB / 0.8909 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.6324, allocations: 171.4 kB / 0.891 GB, free: 384 kB / 0.6075 GB Notification: Performance of SimCode: time 3.71e-07/0.6324, allocations: 0 / 0.891 GB, free: 384 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04202/0.6745, allocations: 15.39 MB / 0.9061 GB, free: 1.324 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.673/8.347, allocations: 10.62 kB / 0.9061 GB, free: 1.316 MB / 0.6231 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)