Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.001426/0.001426, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001358/0.001358, allocations: 213.9 kB / 22.25 MB, free: 5.078 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.325/1.325, allocations: 230.6 MB / 256 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002355/0.002355, allocations: 292 kB / 312.7 MB, free: 2.836 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.151/1.151, allocations: 180.6 MB / 0.5369 GB, free: 12.98 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",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.0027/0.0027, allocations: 108.2 kB / 0.7396 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1553, allocations: 95.38 MB / 0.8328 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.5622/0.7175, allocations: 194.4 MB / 1.023 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008315/0.7258, allocations: 5.734 MB / 1.028 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001513/0.7273, allocations: 59.28 kB / 1.028 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.7288, allocations: 0.5986 MB / 1.029 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003744/0.7325, allocations: 1.706 MB / 1.031 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002724/0.7353, allocations: 1.264 MB / 1.032 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002717/0.738, allocations: 2.619 MB / 1.034 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000881/0.7388, allocations: 0.7484 MB / 1.035 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001693/0.7405, allocations: 1.107 MB / 1.036 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/0.742, allocations: 0.9258 MB / 1.037 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001373/0.7422, allocations: 106.8 kB / 1.037 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002651/0.7448, allocations: 1.657 MB / 1.039 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000402/0.7452, allocations: 0.5071 MB / 1.039 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005453/0.7458, allocations: 0.6393 MB / 1.04 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002604/0.7484, allocations: 2.186 MB / 1.042 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.7484, allocations: 0.9688 kB / 1.042 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7484, allocations: 0 / 1.042 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.395e-05/0.7484, allocations: 0 / 1.042 GB, free: 2.258 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002195/0.7506, allocations: 1.487 MB / 1.043 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.7506, allocations: 8.188 kB / 1.043 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001542/0.7508, allocations: 139.6 kB / 1.044 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00272/0.7535, allocations: 483.4 kB / 1.044 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.7551, allocations: 0.7851 MB / 1.045 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.881e-05/0.7551, allocations: 64.75 kB / 1.045 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.7552, allocations: 83.94 kB / 1.045 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.7571, allocations: 1.176 MB / 1.046 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.7571, allocations: 9.531 kB / 1.046 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.31e-05/0.7572, allocations: 33.25 kB / 1.046 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.396e-05/0.7573, allocations: 40.72 kB / 1.046 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001911/0.7592, allocations: 1.068 MB / 1.047 GB, free: 17.02 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.006306/0.7655, allocations: 4.251 MB / 1.051 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.7671, allocations: 0.7307 MB / 1.052 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007836/0.7679, allocations: 390.1 kB / 1.052 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001407/0.7681, allocations: 29.11 kB / 1.053 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.7681, allocations: 39.22 kB / 1.053 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 1.883e-06/0.7681, allocations: 0 / 1.053 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.004705/0.7728, allocations: 2.118 MB / 1.055 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.7728, allocations: 57.47 kB / 1.055 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008032/0.7737, allocations: 0.8712 MB / 1.056 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.803e-05/0.7737, allocations: 40.83 kB / 1.056 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003339/0.7741, allocations: 0.4926 MB / 1.056 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.7742, allocations: 174.1 kB / 1.056 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/0.7744, allocations: 122.6 kB / 1.056 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.7746, allocations: 331.4 kB / 1.057 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008142/0.7754, allocations: 367.6 kB / 1.057 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009283/0.7763, allocations: 0.5052 MB / 1.057 GB, free: 12.79 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.005326/0.7816, allocations: 2.185 MB / 1.06 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.7816, allocations: 0 / 1.06 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002041/0.7837, allocations: 0.9886 MB / 1.061 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.7837, allocations: 6.375 kB / 1.061 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.7837, allocations: 4.594 kB / 1.061 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.7837, allocations: 7.781 kB / 1.061 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008462/0.7846, allocations: 195.7 kB / 1.061 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-05/0.7846, allocations: 13.31 kB / 1.061 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009363/0.7855, allocations: 67.17 kB / 1.061 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-05/0.7856, allocations: 22.06 kB / 1.061 GB, free: 11.7 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: 17 * 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 (73): * Single equations (assignments): 73 * 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.0005513/0.7861, allocations: 313.5 kB / 1.061 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.7863, allocations: 100.3 kB / 1.061 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/0.7865, allocations: 103.9 kB / 1.061 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.7865, allocations: 6.375 kB / 1.061 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.7865, allocations: 4.812 kB / 1.061 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001766/0.7883, allocations: 1.024 MB / 1.062 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0043/0.7926, allocations: 2.119 MB / 1.064 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.7926, allocations: 3.219 kB / 1.064 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008165/0.7934, allocations: 162.6 kB / 1.065 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.7934, allocations: 2.844 kB / 1.065 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.713e-05/0.7934, allocations: 21.58 kB / 1.065 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.7934, allocations: 13.44 kB / 1.065 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.7934, allocations: 8.281 kB / 1.065 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002814/0.7963, allocations: 1.427 MB / 1.066 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004881/0.7967, allocations: 181.6 kB / 1.066 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.7969, allocations: 18.36 kB / 1.066 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008365/0.7977, allocations: 66.03 kB / 1.066 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.175e-05/0.7978, allocations: 44.66 kB / 1.066 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.637e-05/0.7979, allocations: 33.56 kB / 1.066 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007248/0.7986, allocations: 0.6026 MB / 1.067 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.7986, allocations: 0 / 1.067 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007746/0.7994, allocations: 267.8 kB / 1.067 GB, free: 7.754 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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): 45 * 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.003343/0.8027, allocations: 2.07 MB / 1.069 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00188/0.8046, allocations: 0.7851 MB / 1.07 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.8046, allocations: 1.844 kB / 1.07 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000862/0.8054, allocations: 378.4 kB / 1.07 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002279/0.8077, allocations: 0.5766 MB / 1.071 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/0.8213, allocations: 8.228 MB / 1.079 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007636/0.8221, allocations: 1.114 MB / 1.08 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009065/0.823, allocations: 255.8 kB / 1.08 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005867/0.8236, allocations: 351.3 kB / 1.081 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of SimCode: time 6.62e-07/0.8236, allocations: 4 kB / 1.081 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06779/0.8914, allocations: 29.39 MB / 1.109 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.51, allocations: 8.938 kB / 1.109 GB, free: 0.6719 MB / 0.7637 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_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_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.474936108999827] Failed to read output from testmodel.py, exit status != 0: 12.622137802001816 12.637064477 11.885749152 Calling exit ...