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.00137/0.00137, allocations: 108 kB / 15.61 MB, free: 152 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.00156/0.00156, allocations: 194 kB / 16.53 MB, free: 6.664 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.288/1.288, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002032/0.002032, allocations: 279 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9376/0.9376, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 95.42 kB / 0.5953 GB, free: 27.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1553, allocations: 86.98 MB / 0.6803 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.4778/0.6331, allocations: 181.8 MB / 0.8579 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008401/0.6416, allocations: 5.364 MB / 0.8631 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.6428, allocations: 34.59 kB / 0.8631 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.6438, allocations: 436.2 kB / 0.8636 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003782/0.6477, allocations: 1.682 MB / 0.8652 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.6495, allocations: 0.7899 MB / 0.866 GB, free: 364 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002745/0.6523, allocations: 2.198 MB / 0.8681 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008833/0.6532, allocations: 0.6934 MB / 0.8688 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.6543, allocations: 0.7339 MB / 0.8695 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.6557, allocations: 0.6831 MB / 0.8702 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.6558, allocations: 75.81 kB / 0.8702 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002479/0.6583, allocations: 1.396 MB / 0.8716 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002886/0.6586, allocations: 319.6 kB / 0.8719 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004403/0.659, allocations: 470.6 kB / 0.8724 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002076/0.6611, allocations: 1.646 MB / 0.874 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.6611, allocations: 0 / 0.874 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6611, allocations: 0 / 0.874 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.64e-05/0.6612, allocations: 6.406 kB / 0.874 GB, free: 11.52 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001723/0.6629, allocations: 1.173 MB / 0.8751 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.663, allocations: 10.78 kB / 0.8751 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001201/0.6631, allocations: 102.6 kB / 0.8752 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001727/0.6648, allocations: 277.4 kB / 0.8755 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008987/0.6657, allocations: 0.6753 MB / 0.8762 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/0.6658, allocations: 43.98 kB / 0.8762 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-05/0.6659, allocations: 63.84 kB / 0.8763 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008896/0.6668, allocations: 0.5877 MB / 0.8768 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.6668, allocations: 0 / 0.8768 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.36e-05/0.6668, allocations: 24.84 kB / 0.8769 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.845e-05/0.6669, allocations: 21.47 kB / 0.8769 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000796/0.6677, allocations: 0.5022 MB / 0.8774 GB, free: 9.176 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.002802/0.6705, allocations: 2.398 MB / 0.8797 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007274/0.6712, allocations: 430.7 kB / 0.8801 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/0.6715, allocations: 221.7 kB / 0.8803 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001633/0.6717, allocations: 96.22 kB / 0.8804 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.6718, allocations: 47.75 kB / 0.8805 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 1.884e-06/0.6718, allocations: 0 / 0.8805 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.002634/0.6744, allocations: 1.433 MB / 0.8819 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.6745, allocations: 56.66 kB / 0.8819 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005531/0.675, allocations: 0.5387 MB / 0.8824 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/0.6751, allocations: 35.77 kB / 0.8825 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.6753, allocations: 330.5 kB / 0.8828 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.6754, allocations: 176 kB / 0.883 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.6755, allocations: 89.31 kB / 0.883 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.6757, allocations: 370.4 kB / 0.8834 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/0.676, allocations: 182.4 kB / 0.8836 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003313/0.6763, allocations: 260.2 kB / 0.8838 GB, free: 4.223 MB / 0.5919 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.003111/0.6794, allocations: 1.445 MB / 0.8852 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6794, allocations: 2.656 kB / 0.8852 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008108/0.6802, allocations: 0.5236 MB / 0.8857 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.6803, allocations: 5.344 kB / 0.8858 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.6803, allocations: 2.562 kB / 0.8858 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.6803, allocations: 2.469 kB / 0.8858 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003842/0.6807, allocations: 95.11 kB / 0.8858 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.6807, allocations: 5.281 kB / 0.8859 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000619/0.6813, allocations: 22.34 kB / 0.8859 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/0.6814, allocations: 29.11 kB / 0.8859 GB, free: 3.035 MB / 0.5919 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.0003236/0.6817, allocations: 248.5 kB / 0.8861 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.6818, allocations: 64 kB / 0.8862 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/0.682, allocations: 84.7 kB / 0.8863 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.682, allocations: 6.688 kB / 0.8863 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.682, allocations: 2.188 kB / 0.8863 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000653/0.6827, allocations: 0.5081 MB / 0.8868 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/0.6848, allocations: 1.588 MB / 0.8883 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.6848, allocations: 8.812 kB / 0.8883 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004957/0.6853, allocations: 114.9 kB / 0.8885 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.6853, allocations: 7.625 kB / 0.8885 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.29e-05/0.6854, allocations: 14.84 kB / 0.8885 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.134e-06/0.6854, allocations: 11.72 kB / 0.8885 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/0.6854, allocations: 9.188 kB / 0.8885 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.6865, allocations: 0.9096 MB / 0.8894 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000249/0.6868, allocations: 199.8 kB / 0.8896 GB, free: 340 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.447e-05/0.6869, allocations: 14.66 kB / 0.8896 GB, free: 336 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000513/0.6874, allocations: 21.02 kB / 0.8896 GB, free: 324 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.825e-05/0.6875, allocations: 57.05 kB / 0.8897 GB, free: 284 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.464e-05/0.6875, allocations: 20 kB / 0.8897 GB, free: 264 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004343/0.6879, allocations: 394.8 kB / 0.8901 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.688, allocations: 3.938 kB / 0.8901 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000627/0.6886, allocations: 200 kB / 0.8903 GB, free: 15.68 MB / 0.6075 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.001635/0.6902, allocations: 1.532 MB / 0.8917 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008215/0.6911, allocations: 481.2 kB / 0.8922 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6911, allocations: 0 / 0.8922 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003409/0.6914, allocations: 234 kB / 0.8924 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/0.6936, allocations: 0.4946 MB / 0.8929 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006733/0.7003, allocations: 5.62 MB / 0.8984 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005073/0.7008, allocations: 0.9694 MB / 0.8993 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006471/0.7015, allocations: 165.8 kB / 0.8995 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003474/0.7018, allocations: 251.4 kB / 0.8997 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of SimCode: time 8.12e-07/0.7019, allocations: 3.938 kB / 0.8998 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04801/0.7499, allocations: 20.28 MB / 0.9196 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.295/8.045, allocations: 12.81 kB / 0.9196 GB, free: 1.715 MB / 0.6231 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)