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.001255/0.001255, allocations: 108.6 kB / 15.73 MB, free: 76 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.001282/0.001282, allocations: 187.4 kB / 16.66 MB, free: 6.59 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002389/0.002389, allocations: 274.3 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.038/1.038, allocations: 178.6 MB / 0.5074 GB, free: 4.48 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002569/0.002569, allocations: 101.8 kB / 0.6943 GB, free: 3.594 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4114, allocations: 89.15 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2276/0.639, allocations: 209.9 MB / 0.9863 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01413/0.6532, allocations: 9.879 MB / 0.9959 GB, free: 2.719 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.6544, allocations: 59.69 kB / 0.996 GB, free: 2.66 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00176/0.6562, allocations: 0.7726 MB / 0.9968 GB, free: 1.883 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005919/0.6622, allocations: 2.812 MB / 0.9995 GB, free: 15.06 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003036/0.6652, allocations: 1.381 MB / 1.001 GB, free: 13.68 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004508/0.6697, allocations: 4.067 MB / 1.005 GB, free: 9.609 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/0.6713, allocations: 1.317 MB / 1.006 GB, free: 8.258 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00184/0.6732, allocations: 1.362 MB / 1.007 GB, free: 6.891 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00208/0.6753, allocations: 1.228 MB / 1.009 GB, free: 5.664 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0002261/0.6755, allocations: 144 kB / 1.009 GB, free: 5.523 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004156/0.6797, allocations: 2.385 MB / 1.011 GB, free: 3.133 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.000627/0.6803, allocations: 0.6078 MB / 1.012 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0009354/0.6813, allocations: 0.8556 MB / 1.013 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003928/0.6852, allocations: 3.01 MB / 1.015 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.6852, allocations: 0 / 1.015 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6852, allocations: 0 / 1.015 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.869e-05/0.6852, allocations: 7.828 kB / 1.015 GB, free: 14.64 MB / 0.7794 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.002858/0.6881, allocations: 1.941 MB / 1.017 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.6881, allocations: 12.03 kB / 1.017 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002115/0.6884, allocations: 172.8 kB / 1.018 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002912/0.6913, allocations: 494.5 kB / 1.018 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/0.6931, allocations: 1.133 MB / 1.019 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.499e-05/0.6931, allocations: 86.14 kB / 1.019 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.6933, allocations: 108 kB / 1.019 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/0.6952, allocations: 1.165 MB / 1.02 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/0.6953, allocations: 3.938 kB / 1.02 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.6954, allocations: 48 kB / 1.021 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.527e-05/0.6955, allocations: 42.12 kB / 1.021 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/0.6972, allocations: 1.07 MB / 1.022 GB, free: 8.223 MB / 0.7794 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.005622/0.7028, allocations: 4.203 MB / 1.026 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.7041, allocations: 0.7956 MB / 1.026 GB, free: 2.941 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006663/0.7047, allocations: 478.2 kB / 1.027 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004021/0.7052, allocations: 300.3 kB / 1.027 GB, free: 2.129 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.7052, allocations: 43.56 kB / 1.027 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=83): time 1.963e-06/0.7052, allocations: 0 / 1.027 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of matching and sorting (n=89): time 0.005251/0.7105, allocations: 2.87 MB / 1.03 GB, free: 15.11 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.7105, allocations: 64.39 kB / 1.03 GB, free: 15.04 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.7117, allocations: 0.9716 MB / 1.031 GB, free: 14.05 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.825e-05/0.7118, allocations: 45.7 kB / 1.031 GB, free: 14 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004756/0.7123, allocations: 0.5559 MB / 1.032 GB, free: 13.44 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002863/0.7126, allocations: 317.2 kB / 1.032 GB, free: 13.13 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002576/0.7128, allocations: 166.5 kB / 1.032 GB, free: 12.96 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.713, allocations: 337.9 kB / 1.032 GB, free: 12.62 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005417/0.7136, allocations: 345.8 kB / 1.033 GB, free: 12.29 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006579/0.7142, allocations: 485.9 kB / 1.033 GB, free: 11.77 MB / 0.795 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.006028/0.7202, allocations: 3.04 MB / 1.036 GB, free: 8.648 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7203, allocations: 0 / 1.036 GB, free: 8.648 MB / 0.795 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001519/0.7218, allocations: 1.024 MB / 1.037 GB, free: 7.617 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.7218, allocations: 6.656 kB / 1.037 GB, free: 7.613 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.7218, allocations: 4 kB / 1.037 GB, free: 7.609 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.7219, allocations: 11.98 kB / 1.037 GB, free: 7.598 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006898/0.7225, allocations: 179.8 kB / 1.037 GB, free: 7.422 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.7226, allocations: 8.359 kB / 1.037 GB, free: 7.414 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008062/0.7234, allocations: 31.95 kB / 1.037 GB, free: 7.383 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.881e-05/0.7235, allocations: 35.98 kB / 1.037 GB, free: 7.348 MB / 0.795 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.0005121/0.724, allocations: 372.8 kB / 1.038 GB, free: 6.977 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/0.7242, allocations: 135.1 kB / 1.038 GB, free: 6.844 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002973/0.7245, allocations: 148.3 kB / 1.038 GB, free: 6.691 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.7245, allocations: 12 kB / 1.038 GB, free: 6.68 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.7245, allocations: 0 / 1.038 GB, free: 6.68 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001538/0.7261, allocations: 1.101 MB / 1.039 GB, free: 5.508 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004613/0.7307, allocations: 3.051 MB / 1.042 GB, free: 2.277 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.7307, allocations: 8 kB / 1.042 GB, free: 2.27 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006911/0.7314, allocations: 163.7 kB / 1.042 GB, free: 2.109 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003195/0.7317, allocations: 102.2 kB / 1.042 GB, free: 2.004 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.046e-05/0.7318, allocations: 32 kB / 1.042 GB, free: 1.973 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002653/0.7345, allocations: 3.086 MB / 1.045 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-05/0.7345, allocations: 15.94 kB / 1.045 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002363/0.7368, allocations: 1.738 MB / 1.047 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004422/0.7373, allocations: 316.2 kB / 1.047 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.7375, allocations: 35.92 kB / 1.048 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008125/0.7383, allocations: 37.95 kB / 1.048 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.7384, allocations: 84.17 kB / 1.048 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-05/0.7385, allocations: 51.91 kB / 1.048 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000883/0.7394, allocations: 0.6995 MB / 1.048 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7394, allocations: 0 / 1.048 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009329/0.7404, allocations: 371.9 kB / 1.049 GB, free: 11.11 MB / 0.8106 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.003031/0.7434, allocations: 2.437 MB / 1.051 GB, free: 8.535 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001312/0.7447, allocations: 0.8435 MB / 1.052 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/0.7447, allocations: 4 kB / 1.052 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009252/0.7457, allocations: 0.6741 MB / 1.053 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00378/0.7495, allocations: 0.9175 MB / 1.053 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/0.7621, allocations: 9.726 MB / 1.063 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009372/0.7631, allocations: 1.245 MB / 1.064 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0009764/0.7641, allocations: 347 kB / 1.065 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006407/0.7647, allocations: 471.3 kB / 1.065 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.7647, allocations: 0 / 1.065 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.349/1.114, allocations: 38.43 MB / 1.102 GB, free: 263.1 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/12.34, allocations: 13.97 kB / 1.103 GB, free: 263.1 MB / 0.8262 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)