Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.MixingVolumeAdiabaticCooling,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",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.004939/0.004939, allocations: 95.86 kB / 15.73 MB, free: 6.484 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.001423/0.001423, allocations: 192.3 kB / 16.67 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002386/0.002386, allocations: 298.8 kB / 290.8 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9803/0.9803, allocations: 178.6 MB / 0.5074 GB, free: 4.484 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002558/0.002558, allocations: 100.2 kB / 0.6943 GB, free: 3.621 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.415/0.4176, allocations: 89.13 MB / 0.7813 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1985/0.6161, allocations: 181.9 MB / 0.959 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007957/0.6241, allocations: 5.355 MB / 0.9642 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005605/0.6247, allocations: 35.81 kB / 0.9642 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.6257, allocations: 429.4 kB / 0.9646 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003347/0.6291, allocations: 1.684 MB / 0.9663 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001678/0.6308, allocations: 0.8005 MB / 0.9671 GB, free: 444 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002397/0.6332, allocations: 2.206 MB / 0.9692 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008513/0.6341, allocations: 0.6813 MB / 0.9699 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009505/0.635, allocations: 0.7369 MB / 0.9706 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001413/0.6365, allocations: 0.6808 MB / 0.9713 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.6366, allocations: 76 kB / 0.9713 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002235/0.6388, allocations: 1.407 MB / 0.9727 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000332/0.6392, allocations: 323.2 kB / 0.973 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00048/0.6397, allocations: 473.8 kB / 0.9735 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002016/0.6417, allocations: 1.659 MB / 0.9751 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.6417, allocations: 0 / 0.9751 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6417, allocations: 3.938 kB / 0.9751 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.6417, allocations: 0 / 0.9751 GB, free: 8.188 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001731/0.6435, allocations: 1.214 MB / 0.9763 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.6435, allocations: 8.031 kB / 0.9763 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000116/0.6436, allocations: 98.52 kB / 0.9764 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/0.6454, allocations: 283.2 kB / 0.9766 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.6464, allocations: 0.7144 MB / 0.9773 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.31e-05/0.6465, allocations: 49.3 kB / 0.9774 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.234e-05/0.6466, allocations: 60 kB / 0.9774 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009935/0.6476, allocations: 0.5804 MB / 0.978 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.6476, allocations: 0 / 0.978 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.39e-05/0.6477, allocations: 20 kB / 0.978 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.853e-05/0.6477, allocations: 21.31 kB / 0.9781 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008863/0.6486, allocations: 0.5087 MB / 0.9786 GB, free: 4.531 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.003078/0.6517, allocations: 2.393 MB / 0.9809 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007917/0.6525, allocations: 417.6 kB / 0.9813 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003512/0.6529, allocations: 224.8 kB / 0.9815 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001703/0.653, allocations: 97.09 kB / 0.9816 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.6531, allocations: 38.56 kB / 0.9816 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 1.462e-06/0.6531, allocations: 0 / 0.9816 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48): time 0.002794/0.6559, allocations: 1.462 MB / 0.9831 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.6559, allocations: 59.84 kB / 0.9831 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006211/0.6566, allocations: 0.5343 MB / 0.9836 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/0.6566, allocations: 37.7 kB / 0.9837 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000256/0.6569, allocations: 325.2 kB / 0.984 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.6571, allocations: 182.4 kB / 0.9842 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.6572, allocations: 86.2 kB / 0.9842 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.6574, allocations: 374.7 kB / 0.9846 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003137/0.6577, allocations: 181 kB / 0.9848 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003895/0.6581, allocations: 260.8 kB / 0.985 GB, free: 13.56 MB / 0.7481 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.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: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00336/0.6615, allocations: 1.447 MB / 0.9864 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.6615, allocations: 0 / 0.9864 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008601/0.6624, allocations: 0.5307 MB / 0.9869 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.6624, allocations: 4 kB / 0.987 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.6624, allocations: 4 kB / 0.987 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.6624, allocations: 4 kB / 0.987 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/0.6628, allocations: 103.8 kB / 0.9871 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.6628, allocations: 0 / 0.9871 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005183/0.6634, allocations: 28.02 kB / 0.9871 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.933e-05/0.6634, allocations: 23.98 kB / 0.9871 GB, free: 11.37 MB / 0.7481 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 56 * 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.0002919/0.6637, allocations: 245.7 kB / 0.9873 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.6638, allocations: 71.58 kB / 0.9874 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.664, allocations: 78.5 kB / 0.9875 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.168e-06/0.664, allocations: 11.98 kB / 0.9875 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.664, allocations: 0 / 0.9875 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007375/0.6648, allocations: 0.5144 MB / 0.988 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002318/0.6671, allocations: 1.585 MB / 0.9895 GB, free: 8.707 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.6671, allocations: 8.094 kB / 0.9896 GB, free: 8.699 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005168/0.6676, allocations: 119.8 kB / 0.9897 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.6677, allocations: 4 kB / 0.9897 GB, free: 8.578 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.73e-05/0.6677, allocations: 20 kB / 0.9897 GB, free: 8.559 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.942e-06/0.6677, allocations: 4 kB / 0.9897 GB, free: 8.555 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/0.6677, allocations: 15.88 kB / 0.9897 GB, free: 8.539 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.6689, allocations: 0.9027 MB / 0.9906 GB, free: 7.562 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002437/0.6692, allocations: 196.6 kB / 0.9908 GB, free: 7.352 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.617e-05/0.6693, allocations: 20 kB / 0.9908 GB, free: 7.332 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005005/0.6698, allocations: 19.98 kB / 0.9908 GB, free: 7.312 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.685e-05/0.6699, allocations: 55.7 kB / 0.9909 GB, free: 7.258 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.8e-05/0.6699, allocations: 20 kB / 0.9909 GB, free: 7.238 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004646/0.6704, allocations: 398.8 kB / 0.9913 GB, free: 6.852 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6704, allocations: 0 / 0.9913 GB, free: 6.852 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005779/0.671, allocations: 203.9 kB / 0.9915 GB, free: 6.652 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.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 (49): * Single equations (assignments): 49 * 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.001826/0.6728, allocations: 1.527 MB / 0.993 GB, free: 5.047 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008027/0.6736, allocations: 449.2 kB / 0.9934 GB, free: 4.605 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.6737, allocations: 4 kB / 0.9934 GB, free: 4.602 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004014/0.6741, allocations: 233.1 kB / 0.9936 GB, free: 4.375 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/0.6761, allocations: 0.4921 MB / 0.9941 GB, free: 3.895 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007054/0.6832, allocations: 5.483 MB / 0.9994 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006301/0.6838, allocations: 0.9771 MB / 1 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004888/0.6843, allocations: 165.8 kB / 1.001 GB, free: 13.01 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003509/0.6847, allocations: 247.4 kB / 1.001 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of SimCode: time 3.21e-07/0.6847, allocations: 0 / 1.001 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04831/0.733, allocations: 20.39 MB / 1.021 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.37/9.103, allocations: 4.062 kB / 1.021 GB, free: 8.781 MB / 0.7794 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_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_MixingVolumeAdiabaticCooling.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)