Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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.0013/0.0013, allocations: 108 kB / 15.6 MB, free: 132 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.00132/0.00132, allocations: 197.4 kB / 16.54 MB, free: 6.672 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002408/0.002408, allocations: 291 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.053/1.053, allocations: 178.6 MB / 0.5073 GB, free: 4.559 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002715/0.002715, allocations: 96.72 kB / 0.6065 GB, free: 24.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1447, allocations: 89.14 MB / 0.6936 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.4444/0.5892, allocations: 190.6 MB / 0.8797 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0091/0.5983, allocations: 5.736 MB / 0.8853 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008243/0.5991, allocations: 40.81 kB / 0.8853 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001397/0.6005, allocations: 0.5803 MB / 0.8859 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003429/0.604, allocations: 1.617 MB / 0.8875 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.6068, allocations: 1.209 MB / 0.8887 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002913/0.6097, allocations: 2.562 MB / 0.8912 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001157/0.6109, allocations: 0.8895 MB / 0.892 GB, free: 308 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001618/0.6125, allocations: 1.039 MB / 0.8931 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001563/0.6141, allocations: 0.8052 MB / 0.8938 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001738/0.6143, allocations: 96 kB / 0.8939 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002805/0.6171, allocations: 1.54 MB / 0.8954 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000434/0.6175, allocations: 414.9 kB / 0.8958 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006516/0.6182, allocations: 0.5794 MB / 0.8964 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002667/0.6209, allocations: 2.01 MB / 0.8984 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.6209, allocations: 0 / 0.8984 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.123e-06/0.6209, allocations: 0 / 0.8984 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.6209, allocations: 0 / 0.8984 GB, free: 9.816 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002331/0.6232, allocations: 1.438 MB / 0.8998 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.6233, allocations: 16.03 kB / 0.8998 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001647/0.6235, allocations: 122.6 kB / 0.8999 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002681/0.6262, allocations: 410.3 kB / 0.9003 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.6275, allocations: 0.7659 MB / 0.901 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003694/0.6279, allocations: 121.9 kB / 0.9012 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.628, allocations: 72 kB / 0.9012 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/0.63, allocations: 0.9905 MB / 0.9022 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.63, allocations: 7.938 kB / 0.9022 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.195e-05/0.6301, allocations: 32 kB / 0.9022 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-05/0.6302, allocations: 33.98 kB / 0.9023 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002119/0.6323, allocations: 0.8822 MB / 0.9031 GB, free: 4.816 MB / 0.6231 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.006234/0.6386, allocations: 3.524 MB / 0.9066 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.6404, allocations: 0.6242 MB / 0.9072 GB, free: 484 kB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008591/0.6413, allocations: 334 kB / 0.9075 GB, free: 148 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000191/0.6415, allocations: 105.7 kB / 0.9076 GB, free: 24 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/0.6416, allocations: 38.56 kB / 0.9076 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=39): time 1.843e-06/0.6416, allocations: 0 / 0.9076 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of matching and sorting (n=41): time 0.008491/0.6501, allocations: 2.421 MB / 0.91 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.6501, allocations: 55.41 kB / 0.91 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.6512, allocations: 0.7901 MB / 0.9108 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.027e-05/0.6512, allocations: 37.7 kB / 0.9109 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003722/0.6516, allocations: 451.7 kB / 0.9113 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.6518, allocations: 145.8 kB / 0.9114 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.652, allocations: 110.1 kB / 0.9115 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.6521, allocations: 330 kB / 0.9118 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008778/0.653, allocations: 307 kB / 0.9121 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009452/0.654, allocations: 412.1 kB / 0.9125 GB, free: 10.8 MB / 0.6387 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005731/0.6597, allocations: 1.915 MB / 0.9144 GB, free: 8.836 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6597, allocations: 0 / 0.9144 GB, free: 8.836 MB / 0.6387 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00337/0.6631, allocations: 1.054 MB / 0.9154 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.6631, allocations: 4 kB / 0.9154 GB, free: 7.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.6631, allocations: 4 kB / 0.9154 GB, free: 7.766 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006229/0.6638, allocations: 188.8 kB / 0.9156 GB, free: 7.578 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007288/0.6645, allocations: 139.8 kB / 0.9157 GB, free: 7.441 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004204/0.6687, allocations: 2.23 MB / 0.9179 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008991/0.6696, allocations: 52.02 kB / 0.918 GB, free: 5.027 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-05/0.6697, allocations: 25.55 kB / 0.918 GB, free: 5.004 MB / 0.6387 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004195/0.6701, allocations: 285.8 kB / 0.9183 GB, free: 4.719 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.6703, allocations: 94.91 kB / 0.9184 GB, free: 4.625 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.6705, allocations: 96.23 kB / 0.9185 GB, free: 4.523 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.6705, allocations: 4 kB / 0.9185 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.6705, allocations: 5 kB / 0.9185 GB, free: 4.516 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003036/0.6736, allocations: 0.9025 MB / 0.9193 GB, free: 3.578 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00553/0.6791, allocations: 2.107 MB / 0.9214 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.6791, allocations: 7.938 kB / 0.9214 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006701/0.6798, allocations: 128.2 kB / 0.9215 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005876/0.6804, allocations: 184.7 kB / 0.9217 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.537e-05/0.6805, allocations: 17.05 kB / 0.9217 GB, free: 1.039 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004003/0.6845, allocations: 2.192 MB / 0.9239 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.6845, allocations: 7.969 kB / 0.9239 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004154/0.6887, allocations: 1.432 MB / 0.9253 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004574/0.6891, allocations: 240 kB / 0.9255 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.6893, allocations: 12 kB / 0.9255 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008889/0.6902, allocations: 64.83 kB / 0.9256 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.6903, allocations: 43.81 kB / 0.9256 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.09e-05/0.6904, allocations: 27.98 kB / 0.9256 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008379/0.6912, allocations: 0.5576 MB / 0.9262 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6912, allocations: 0 / 0.9262 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009073/0.6921, allocations: 272 kB / 0.9264 GB, free: 12 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004891/0.697, allocations: 2.075 MB / 0.9285 GB, free: 9.863 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002419/0.6995, allocations: 0.8447 MB / 0.9293 GB, free: 9 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.862e-06/0.6995, allocations: 11.94 kB / 0.9293 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.7006, allocations: 459 kB / 0.9297 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002618/0.7032, allocations: 0.5347 MB / 0.9303 GB, free: 8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01685/0.7201, allocations: 7.977 MB / 0.9381 GB, free: 15.73 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000802/0.7209, allocations: 1.052 MB / 0.9391 GB, free: 14.65 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008705/0.7218, allocations: 207.2 kB / 0.9393 GB, free: 14.44 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004813/0.7223, allocations: 315.3 kB / 0.9396 GB, free: 14.13 MB / 0.67 GB Notification: Performance of SimCode: time 3.737e-06/0.7223, allocations: 0 / 0.9396 GB, free: 14.13 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06479/0.7871, allocations: 27.67 MB / 0.9666 GB, free: 2.988 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.22, allocations: 9.094 kB / 0.9666 GB, free: 2.98 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_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_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)