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.001279/0.001279, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001443/0.001443, allocations: 208.4 kB / 22.24 MB, free: 5.262 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.376/1.376, allocations: 230.6 MB / 256 MB, free: 7.793 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.002442/0.002442, allocations: 284.8 kB / 312.7 MB, free: 2.605 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.212/1.212, allocations: 180.6 MB / 0.5369 GB, free: 14.49 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.002822/0.002822, allocations: 109.8 kB / 0.7395 GB, free: 27.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1743, allocations: 95.38 MB / 0.8327 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.6129/0.7871, allocations: 168.4 MB / 0.9971 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008839/0.796, allocations: 5.406 MB / 1.002 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.7973, allocations: 55.12 kB / 1.002 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001396/0.7987, allocations: 0.5436 MB / 1.003 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003927/0.8026, allocations: 1.683 MB / 1.005 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003254/0.8059, allocations: 1.239 MB / 1.006 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003721/0.8096, allocations: 2.598 MB / 1.008 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.8107, allocations: 0.7467 MB / 1.009 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002168/0.8129, allocations: 1.111 MB / 1.01 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001879/0.8147, allocations: 0.8789 MB / 1.011 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001927/0.8149, allocations: 108.5 kB / 1.011 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002825/0.8178, allocations: 1.297 MB / 1.012 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004701/0.8182, allocations: 0.5064 MB / 1.013 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006696/0.8189, allocations: 0.5353 MB / 1.013 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003006/0.8219, allocations: 2.149 MB / 1.016 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.8219, allocations: 2.844 kB / 1.016 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.404e-06/0.8219, allocations: 0 / 1.016 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.849e-05/0.8219, allocations: 0.8438 kB / 1.016 GB, free: 3.148 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.002622/0.8246, allocations: 1.484 MB / 1.017 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.8246, allocations: 11.5 kB / 1.017 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001623/0.8248, allocations: 142.1 kB / 1.017 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002704/0.8275, allocations: 477.4 kB / 1.018 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.829, allocations: 0.7949 MB / 1.018 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.746e-05/0.8291, allocations: 63.38 kB / 1.018 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.8292, allocations: 84.75 kB / 1.018 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/0.8313, allocations: 1.555 MB / 1.02 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.8313, allocations: 0 / 1.02 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.695e-05/0.8314, allocations: 38.53 kB / 1.02 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.88e-05/0.8315, allocations: 36.66 kB / 1.02 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001955/0.8334, allocations: 1.064 MB / 1.021 GB, free: 17.45 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.005574/0.839, allocations: 3.314 MB / 1.024 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.8406, allocations: 0.7247 MB / 1.025 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007771/0.8414, allocations: 393.7 kB / 1.025 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000133/0.8415, allocations: 19.44 kB / 1.025 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.8416, allocations: 41.88 kB / 1.025 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 1.663e-06/0.8416, allocations: 2.875 kB / 1.025 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.004845/0.8464, allocations: 2.114 MB / 1.028 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.8465, allocations: 55.78 kB / 1.028 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008499/0.8473, allocations: 0.8753 MB / 1.028 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.622e-05/0.8474, allocations: 39.08 kB / 1.029 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003067/0.8477, allocations: 0.498 MB / 1.029 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.8478, allocations: 168.2 kB / 1.029 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.848, allocations: 122.4 kB / 1.029 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000216/0.8482, allocations: 332.8 kB / 1.03 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008322/0.849, allocations: 369.2 kB / 1.03 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.85, allocations: 0.5539 MB / 1.03 GB, free: 14.93 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.005175/0.8552, allocations: 2.187 MB / 1.033 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.8552, allocations: 0.75 kB / 1.033 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001926/0.8571, allocations: 0.9837 MB / 1.034 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.8572, allocations: 12.81 kB / 1.034 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.8572, allocations: 2.25 kB / 1.034 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.8572, allocations: 12.94 kB / 1.034 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008083/0.858, allocations: 190.4 kB / 1.034 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.858, allocations: 9.25 kB / 1.034 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008888/0.8589, allocations: 66.03 kB / 1.034 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.306e-05/0.859, allocations: 26.28 kB / 1.034 GB, free: 14.67 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.0004339/0.8594, allocations: 313.7 kB / 1.034 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.8595, allocations: 100.6 kB / 1.034 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/0.8597, allocations: 103.5 kB / 1.034 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.8597, allocations: 10.5 kB / 1.034 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.8597, allocations: 0.875 kB / 1.034 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001933/0.8617, allocations: 1.025 MB / 1.035 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00392/0.8656, allocations: 1.974 MB / 1.037 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.8656, allocations: 3.031 kB / 1.037 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007599/0.8663, allocations: 166 kB / 1.037 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.8663, allocations: 9.938 kB / 1.037 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-05/0.8664, allocations: 16.2 kB / 1.038 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.8664, allocations: 8.25 kB / 1.038 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.8664, allocations: 7.562 kB / 1.038 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002614/0.869, allocations: 1.427 MB / 1.039 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004197/0.8694, allocations: 179.6 kB / 1.039 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.8696, allocations: 13.31 kB / 1.039 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008213/0.8704, allocations: 73.97 kB / 1.039 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.163e-05/0.8705, allocations: 41.95 kB / 1.039 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.683e-05/0.8705, allocations: 28.8 kB / 1.039 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006336/0.8711, allocations: 0.6001 MB / 1.04 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.8711, allocations: 3.938 kB / 1.04 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007164/0.8719, allocations: 274.3 kB / 1.04 GB, free: 13.12 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.003135/0.875, allocations: 2.06 MB / 1.042 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001771/0.8768, allocations: 0.7936 MB / 1.043 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.8768, allocations: 2.5 kB / 1.043 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008074/0.8776, allocations: 378.4 kB / 1.043 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002272/0.8798, allocations: 0.5845 MB / 1.044 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/0.8931, allocations: 8.221 MB / 1.052 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/0.8936, allocations: 0.5106 MB / 1.052 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009123/0.8945, allocations: 262.9 kB / 1.053 GB, free: 8.738 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005933/0.8951, allocations: 354.4 kB / 1.053 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of SimCode: time 9.12e-07/0.8951, allocations: 0 / 1.053 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06703/0.9621, allocations: 31.88 MB / 1.084 GB, free: 1.914 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/12.33, allocations: 0 / 1.084 GB, free: 1.914 MB / 0.7481 GB " [Timeout remaining time 648] (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.427034482825547] Failed to read output from testmodel.py, exit status != 0: 12.456519836559892 12.472243549 11.647231594 Calling exit ...