Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 107.1 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.395/1.395, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002559/0.002559, allocations: 295.3 kB / 309.1 MB, free: 3.961 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.178/1.178, allocations: 180.9 MB / 0.5333 GB, free: 13.82 MB / 382.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002762/0.002762, allocations: 107.8 kB / 0.7343 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1671, allocations: 95.35 MB / 0.8274 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.5927/0.7597, allocations: 194.2 MB / 1.017 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007975/0.7677, allocations: 5.733 MB / 1.023 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001516/0.7692, allocations: 59.81 kB / 1.023 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.7705, allocations: 0.6105 MB / 1.023 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004004/0.7745, allocations: 1.915 MB / 1.025 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002635/0.7772, allocations: 1.203 MB / 1.026 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003455/0.7806, allocations: 2.949 MB / 1.029 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.7817, allocations: 0.8063 MB / 1.03 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001789/0.7835, allocations: 1.116 MB / 1.031 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001837/0.7853, allocations: 0.9781 MB / 1.032 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001602/0.7855, allocations: 107.2 kB / 1.032 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002642/0.7881, allocations: 1.523 MB / 1.034 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004169/0.7885, allocations: 476.2 kB / 1.034 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00068/0.7892, allocations: 0.6539 MB / 1.035 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002845/0.792, allocations: 2.141 MB / 1.037 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.792, allocations: 3.609 kB / 1.037 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7921, allocations: 0 / 1.037 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.988e-05/0.7921, allocations: 0 / 1.037 GB, free: 2.133 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002411/0.7945, allocations: 1.548 MB / 1.038 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.7945, allocations: 8.656 kB / 1.038 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001794/0.7947, allocations: 144.6 kB / 1.038 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001893/0.7966, allocations: 322.6 kB / 1.039 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.7979, allocations: 0.8632 MB / 1.04 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.998e-05/0.7979, allocations: 68.48 kB / 1.04 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.7981, allocations: 86.95 kB / 1.04 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.7995, allocations: 0.9058 MB / 1.041 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.7995, allocations: 4.969 kB / 1.041 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.492e-05/0.7996, allocations: 40.5 kB / 1.041 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.184e-05/0.7996, allocations: 31.73 kB / 1.041 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.8008, allocations: 0.8216 MB / 1.042 GB, free: 16.8 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.004743/0.8056, allocations: 3.519 MB / 1.045 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006674/0.8063, allocations: 481.1 kB / 1.045 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003765/0.8066, allocations: 279.3 kB / 1.046 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001857/0.8068, allocations: 102.4 kB / 1.046 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.8069, allocations: 44.41 kB / 1.046 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 2.274e-06/0.8069, allocations: 0 / 1.046 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.003714/0.8106, allocations: 1.936 MB / 1.048 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.8106, allocations: 64.19 kB / 1.048 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008697/0.8115, allocations: 0.8005 MB / 1.049 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.562e-05/0.8116, allocations: 40.98 kB / 1.049 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002619/0.8118, allocations: 476.4 kB / 1.049 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.812, allocations: 183.1 kB / 1.049 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.8121, allocations: 119.1 kB / 1.049 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.8123, allocations: 333 kB / 1.05 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003854/0.8127, allocations: 239.8 kB / 1.05 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004955/0.8132, allocations: 354.8 kB / 1.05 GB, free: 13.16 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003579/0.8167, allocations: 1.532 MB / 1.052 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.8167, allocations: 1.062 kB / 1.052 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001313/0.8181, allocations: 0.7829 MB / 1.052 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.8181, allocations: 7.328 kB / 1.052 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.8181, allocations: 3.5 kB / 1.052 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002864/0.8184, allocations: 97.28 kB / 1.053 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006034/0.819, allocations: 140.8 kB / 1.053 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003142/0.8221, allocations: 3.308 MB / 1.056 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009049/0.823, allocations: 24.94 kB / 1.056 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-05/0.8231, allocations: 23.39 kB / 1.056 GB, free: 9.191 MB / 0.7325 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 (67): * Single equations (assignments): 65 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005181/0.8236, allocations: 312.4 kB / 1.056 GB, free: 8.988 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/0.8238, allocations: 99.52 kB / 1.056 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/0.824, allocations: 100.9 kB / 1.056 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.824, allocations: 5.031 kB / 1.056 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.824, allocations: 0 / 1.056 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001066/0.8251, allocations: 0.8363 MB / 1.057 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002827/0.8279, allocations: 1.799 MB / 1.059 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.8279, allocations: 4.438 kB / 1.059 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005638/0.8285, allocations: 130.3 kB / 1.059 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002174/0.8287, allocations: 67.53 kB / 1.059 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/0.8287, allocations: 15.55 kB / 1.059 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001703/0.8304, allocations: 1.778 MB / 1.061 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.8304, allocations: 7.344 kB / 1.061 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.832, allocations: 1.077 MB / 1.062 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004383/0.8325, allocations: 238.7 kB / 1.062 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.8326, allocations: 21.03 kB / 1.062 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006716/0.8333, allocations: 31.69 kB / 1.062 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.8334, allocations: 40.25 kB / 1.062 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.354e-05/0.8334, allocations: 35.3 kB / 1.062 GB, free: 5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007077/0.8341, allocations: 0.5601 MB / 1.063 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8341, allocations: 0 / 1.063 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008528/0.835, allocations: 289 kB / 1.063 GB, free: 4.664 MB / 0.7325 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 (45): * Single equations (assignments): 44 * 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.00213/0.8371, allocations: 1.693 MB / 1.065 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001309/0.8384, allocations: 0.7783 MB / 1.066 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.8384, allocations: 2.75 kB / 1.066 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000566/0.839, allocations: 404 kB / 1.066 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002749/0.8418, allocations: 0.603 MB / 1.067 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009611/0.8514, allocations: 7.01 MB / 1.073 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007437/0.8521, allocations: 1.087 MB / 1.075 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007921/0.8529, allocations: 218.4 kB / 1.075 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004683/0.8534, allocations: 343.5 kB / 1.075 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of SimCode: time 6.01e-07/0.8534, allocations: 0 / 1.075 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09738/0.9507, allocations: 28.23 MB / 1.103 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.63, allocations: 13.94 kB / 1.103 GB, free: 1.953 MB / 0.7637 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.004 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.675378520041704] Failed to read output from testmodel.py, exit status != 0: 13.740345333237201 13.75332667 12.958556715 Calling exit ...