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.005157/0.005157, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001265/0.001265, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.224/1.224, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002024/0.002024, allocations: 281.8 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8725/0.8725, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 96.44 kB / 0.681 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3596, allocations: 86.98 MB / 0.7659 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.5269/0.8865, allocations: 209.9 MB / 0.9709 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01093/0.8975, allocations: 9.887 MB / 0.9805 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001279/0.8988, allocations: 60.34 kB / 0.9806 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.9003, allocations: 0.7986 MB / 0.9814 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004789/0.9051, allocations: 2.911 MB / 0.9842 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.9076, allocations: 1.393 MB / 0.9856 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003005/0.9106, allocations: 4.07 MB / 0.9895 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.9117, allocations: 1.33 MB / 0.9908 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001474/0.9132, allocations: 1.419 MB / 0.9922 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001563/0.9148, allocations: 1.229 MB / 0.9934 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001637/0.915, allocations: 143.4 kB / 0.9936 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003333/0.9183, allocations: 2.4 MB / 0.9959 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004355/0.9188, allocations: 0.5981 MB / 0.9965 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007128/0.9195, allocations: 0.8633 MB / 0.9973 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002845/0.9223, allocations: 3.028 MB / 1 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.9224, allocations: 0 / 1 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9224, allocations: 0 / 1 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.638e-05/0.9224, allocations: 1.094 kB / 1 GB, free: 1.027 MB / 0.7169 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.002329/0.9247, allocations: 1.94 MB / 1.002 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.9248, allocations: 10.12 kB / 1.002 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001677/0.9249, allocations: 172.1 kB / 1.002 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002818/0.9278, allocations: 498.5 kB / 1.003 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.9293, allocations: 1.144 MB / 1.004 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.223e-05/0.9294, allocations: 85.8 kB / 1.004 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.9295, allocations: 110.1 kB / 1.004 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.9311, allocations: 1.15 MB / 1.005 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.9311, allocations: 4.312 kB / 1.005 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.85e-05/0.9312, allocations: 50.44 kB / 1.005 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.796e-05/0.9312, allocations: 43.11 kB / 1.005 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.9326, allocations: 1.077 MB / 1.006 GB, free: 15.42 MB / 0.7325 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.00472/0.9373, allocations: 4.208 MB / 1.011 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009447/0.9383, allocations: 0.7849 MB / 1.011 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005224/0.9388, allocations: 478.1 kB / 1.012 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003427/0.9391, allocations: 298.8 kB / 1.012 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.9392, allocations: 47.72 kB / 1.012 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=83): time 1.903e-06/0.9392, allocations: 1.031 kB / 1.012 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=89): time 0.004414/0.9436, allocations: 2.869 MB / 1.015 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.9437, allocations: 63.69 kB / 1.015 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008817/0.9445, allocations: 0.97 MB / 1.016 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.377e-05/0.9446, allocations: 45.2 kB / 1.016 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000307/0.9449, allocations: 0.5482 MB / 1.016 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/0.9452, allocations: 326.8 kB / 1.017 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.9454, allocations: 158.7 kB / 1.017 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.983e-05/0.9455, allocations: 342.1 kB / 1.017 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004247/0.9459, allocations: 341 kB / 1.018 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005605/0.9465, allocations: 492.5 kB / 1.018 GB, free: 11.54 MB / 0.7325 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.005074/0.9516, allocations: 3.041 MB / 1.021 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.9516, allocations: 0 / 1.021 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001221/0.9528, allocations: 1.013 MB / 1.022 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.9528, allocations: 16.06 kB / 1.022 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.9528, allocations: 2.281 kB / 1.022 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.9529, allocations: 9.344 kB / 1.022 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000659/0.9535, allocations: 182 kB / 1.022 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.9535, allocations: 7.891 kB / 1.022 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008827/0.9544, allocations: 28.36 kB / 1.022 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.605e-05/0.9545, allocations: 33.48 kB / 1.022 GB, free: 10.98 MB / 0.7325 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.0004221/0.9549, allocations: 377.1 kB / 1.023 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.9551, allocations: 139 kB / 1.023 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.9553, allocations: 147.8 kB / 1.023 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.9553, allocations: 13.75 kB / 1.023 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.9553, allocations: 3.938 kB / 1.023 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001257/0.9566, allocations: 1.095 MB / 1.024 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003846/0.9605, allocations: 3.05 MB / 1.027 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.9605, allocations: 9.594 kB / 1.027 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006223/0.9611, allocations: 163.5 kB / 1.027 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002786/0.9614, allocations: 97.23 kB / 1.027 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.256e-05/0.9615, allocations: 34.64 kB / 1.027 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002051/0.9635, allocations: 3.093 MB / 1.03 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.9635, allocations: 14.78 kB / 1.03 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/0.9655, allocations: 1.742 MB / 1.032 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004737/0.966, allocations: 315.6 kB / 1.032 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.9661, allocations: 34.91 kB / 1.032 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008778/0.967, allocations: 43.89 kB / 1.032 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.769e-05/0.9671, allocations: 82 kB / 1.032 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-05/0.9672, allocations: 55.45 kB / 1.032 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007224/0.9679, allocations: 0.6919 MB / 1.033 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9679, allocations: 0 / 1.033 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009087/0.9689, allocations: 376.1 kB / 1.034 GB, free: 5.172 MB / 0.7325 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.002498/0.9714, allocations: 2.417 MB / 1.036 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001095/0.9725, allocations: 0.8454 MB / 1.037 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.9725, allocations: 6.719 kB / 1.037 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007922/0.9733, allocations: 0.6707 MB / 1.037 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003557/0.9768, allocations: 0.9159 MB / 1.038 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/0.9887, allocations: 9.809 MB / 1.048 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007727/0.9895, allocations: 1.253 MB / 1.049 GB, free: 9.473 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001102/0.9906, allocations: 339 kB / 1.049 GB, free: 9.137 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005814/0.9912, allocations: 475.3 kB / 1.05 GB, free: 8.672 MB / 0.7481 GB Notification: Performance of SimCode: time 6.52e-07/0.9912, allocations: 0 / 1.05 GB, free: 8.672 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06531/1.057, allocations: 38.45 MB / 1.087 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/11.57, allocations: 9.938 kB / 1.087 GB, free: 2.906 MB / 0.7794 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)