Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.001817/0.001817, allocations: 111.9 kB / 15.61 MB, free: 128 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.002008/0.002008, allocations: 197.8 kB / 16.54 MB, free: 6.703 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002425/0.002425, allocations: 286.5 kB / 290.7 MB, free: 2.031 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.02/1.02, allocations: 178.6 MB / 0.5073 GB, free: 4.574 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002708/0.002708, allocations: 103.3 kB / 0.6065 GB, free: 24.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1441, allocations: 89.15 MB / 0.6936 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.4552/0.5993, allocations: 209.9 MB / 0.8986 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01395/0.6133, allocations: 9.88 MB / 0.9082 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009742/0.6143, allocations: 59.62 kB / 0.9083 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001679/0.616, allocations: 0.7765 MB / 0.909 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005574/0.6216, allocations: 2.8 MB / 0.9117 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002834/0.6244, allocations: 1.378 MB / 0.9131 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004246/0.6287, allocations: 4.06 MB / 0.9171 GB, free: 6.633 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.6303, allocations: 1.329 MB / 0.9184 GB, free: 5.277 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.632, allocations: 1.358 MB / 0.9197 GB, free: 3.914 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002047/0.6341, allocations: 1.224 MB / 0.9209 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002217/0.6343, allocations: 144 kB / 0.921 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004066/0.6384, allocations: 2.373 MB / 0.9233 GB, free: 180 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006111/0.639, allocations: 0.6116 MB / 0.9239 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008877/0.6399, allocations: 0.8634 MB / 0.9248 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003485/0.6434, allocations: 2.972 MB / 0.9277 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.6434, allocations: 0 / 0.9277 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6434, allocations: 4 kB / 0.9277 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.438e-05/0.6434, allocations: 0 / 0.9277 GB, free: 11.71 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002875/0.6463, allocations: 1.892 MB / 0.9295 GB, free: 9.762 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.6464, allocations: 12.03 kB / 0.9295 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002221/0.6466, allocations: 172.7 kB / 0.9297 GB, free: 9.57 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003052/0.6497, allocations: 493.5 kB / 0.9302 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001654/0.6513, allocations: 1.057 MB / 0.9312 GB, free: 7.98 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.684e-05/0.6514, allocations: 86.14 kB / 0.9313 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/0.6516, allocations: 108.6 kB / 0.9314 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/0.6535, allocations: 1.161 MB / 0.9325 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.6535, allocations: 3.938 kB / 0.9325 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.6536, allocations: 48 kB / 0.9326 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.933e-05/0.6537, allocations: 42.12 kB / 0.9326 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001734/0.6554, allocations: 1.074 MB / 0.9337 GB, free: 5.422 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.005827/0.6613, allocations: 4.243 MB / 0.9378 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.6625, allocations: 0.7905 MB / 0.9386 GB, free: 104 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006988/0.6632, allocations: 483.6 kB / 0.939 GB, free: 15.63 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004124/0.6637, allocations: 296.2 kB / 0.9393 GB, free: 15.29 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.6637, allocations: 47.56 kB / 0.9394 GB, free: 15.23 MB / 0.67 GB Notification: Performance of pre-optimization done (n=83): time 2.094e-06/0.6637, allocations: 0 / 0.9394 GB, free: 15.23 MB / 0.67 GB Notification: Performance of matching and sorting (n=89): time 0.00537/0.6691, allocations: 2.844 MB / 0.9421 GB, free: 12.3 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.6692, allocations: 64.41 kB / 0.9422 GB, free: 12.22 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.6704, allocations: 0.9754 MB / 0.9432 GB, free: 11.23 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.532e-05/0.6705, allocations: 45.7 kB / 0.9432 GB, free: 11.18 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004493/0.6709, allocations: 0.5396 MB / 0.9437 GB, free: 10.63 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002765/0.6712, allocations: 311.5 kB / 0.944 GB, free: 10.32 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002503/0.6715, allocations: 162.6 kB / 0.9442 GB, free: 10.16 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.6716, allocations: 334 kB / 0.9445 GB, free: 9.828 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000553/0.6722, allocations: 341.8 kB / 0.9448 GB, free: 9.492 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006627/0.6729, allocations: 489.9 kB / 0.9453 GB, free: 8.977 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 (bou.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: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.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 (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00615/0.679, allocations: 3.048 MB / 0.9483 GB, free: 5.848 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.679, allocations: 0 / 0.9483 GB, free: 5.848 MB / 0.67 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001542/0.6806, allocations: 1.015 MB / 0.9493 GB, free: 4.824 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.6806, allocations: 8 kB / 0.9493 GB, free: 4.816 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.6806, allocations: 4 kB / 0.9493 GB, free: 4.812 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.6806, allocations: 4 kB / 0.9493 GB, free: 4.809 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007361/0.6814, allocations: 183.7 kB / 0.9495 GB, free: 4.629 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.6814, allocations: 8 kB / 0.9495 GB, free: 4.621 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008826/0.6823, allocations: 23.98 kB / 0.9495 GB, free: 4.598 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.7e-05/0.6824, allocations: 36.28 kB / 0.9495 GB, free: 4.562 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 volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * 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.0005078/0.6829, allocations: 384.7 kB / 0.9499 GB, free: 4.18 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/0.6831, allocations: 130.4 kB / 0.95 GB, free: 4.051 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002825/0.6834, allocations: 148.3 kB / 0.9502 GB, free: 3.898 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.6834, allocations: 11.94 kB / 0.9502 GB, free: 3.887 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.6834, allocations: 4 kB / 0.9502 GB, free: 3.883 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00158/0.685, allocations: 1.094 MB / 0.9512 GB, free: 2.719 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004703/0.6897, allocations: 3.051 MB / 0.9542 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.6897, allocations: 8 kB / 0.9542 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006993/0.6904, allocations: 163.7 kB / 0.9544 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003154/0.6908, allocations: 93.66 kB / 0.9545 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.104e-05/0.6908, allocations: 40.17 kB / 0.9545 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002638/0.6935, allocations: 3.09 MB / 0.9575 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.41e-05/0.6935, allocations: 12 kB / 0.9575 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002426/0.6959, allocations: 1.741 MB / 0.9592 GB, free: 9.922 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004678/0.6964, allocations: 303.5 kB / 0.9595 GB, free: 9.605 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/0.6966, allocations: 35.92 kB / 0.9596 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009166/0.6975, allocations: 36.73 kB / 0.9596 GB, free: 9.535 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.6977, allocations: 88.11 kB / 0.9597 GB, free: 9.449 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.529e-05/0.6977, allocations: 43.98 kB / 0.9597 GB, free: 9.406 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009115/0.6987, allocations: 0.6994 MB / 0.9604 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6987, allocations: 0 / 0.9604 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001019/0.6997, allocations: 380 kB / 0.9608 GB, free: 8.328 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003148/0.7029, allocations: 2.407 MB / 0.9631 GB, free: 5.777 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001622/0.7045, allocations: 0.9535 MB / 0.964 GB, free: 4.824 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.994e-06/0.7045, allocations: 7.938 kB / 0.9641 GB, free: 4.816 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009818/0.7055, allocations: 0.6657 MB / 0.9647 GB, free: 4.129 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004049/0.7096, allocations: 0.9276 MB / 0.9656 GB, free: 3.23 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/0.7239, allocations: 10.29 MB / 0.9757 GB, free: 8.309 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009978/0.7249, allocations: 1.253 MB / 0.9769 GB, free: 7.02 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001277/0.7262, allocations: 343 kB / 0.9772 GB, free: 6.68 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006644/0.7269, allocations: 471.3 kB / 0.9777 GB, free: 6.223 MB / 0.7012 GB Notification: Performance of SimCode: time 4.6e-07/0.7269, allocations: 0 / 0.9777 GB, free: 6.223 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07556/0.8024, allocations: 38.2 MB / 1.015 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/10.92, allocations: 18.48 kB / 1.015 GB, free: 0.6094 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)