Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001089/0.001089, 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.00112/0.00112, allocations: 194.6 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.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9733/0.9733, allocations: 143 MB / 433.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.91 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1487, allocations: 82.05 MB / 0.5944 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.4203/0.569, allocations: 190.7 MB / 0.7806 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009979/0.579, allocations: 5.723 MB / 0.7862 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.5803, allocations: 43.75 kB / 0.7862 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.5818, allocations: 0.5902 MB / 0.7868 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003689/0.5855, allocations: 1.622 MB / 0.7884 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002858/0.5884, allocations: 1.198 MB / 0.7896 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002869/0.5913, allocations: 2.566 MB / 0.7921 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001184/0.5925, allocations: 0.8797 MB / 0.7929 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001756/0.5943, allocations: 1.043 MB / 0.7939 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001964/0.5962, allocations: 0.8109 MB / 0.7947 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002597/0.5965, allocations: 96 kB / 0.7948 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002763/0.5993, allocations: 1.536 MB / 0.7963 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005046/0.5998, allocations: 402.9 kB / 0.7967 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008555/0.6007, allocations: 0.5911 MB / 0.7973 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002701/0.6034, allocations: 2.057 MB / 0.7993 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.6034, allocations: 3.984 kB / 0.7993 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6034, allocations: 4 kB / 0.7993 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.957e-05/0.6034, allocations: 0 / 0.7993 GB, free: 11.29 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.002694/0.6061, allocations: 1.43 MB / 0.8007 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.6062, allocations: 12.62 kB / 0.8007 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001859/0.6064, allocations: 126.6 kB / 0.8008 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002778/0.6092, allocations: 430.1 kB / 0.8012 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.6106, allocations: 0.7609 MB / 0.802 GB, free: 8.438 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000366/0.6109, allocations: 117.9 kB / 0.8021 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.6111, allocations: 75.94 kB / 0.8022 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/0.6131, allocations: 0.9905 MB / 0.8031 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.6131, allocations: 0 / 0.8031 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-05/0.6132, allocations: 36.81 kB / 0.8032 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.126e-05/0.6132, allocations: 30 kB / 0.8032 GB, free: 7.172 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002123/0.6154, allocations: 0.8861 MB / 0.8041 GB, free: 6.289 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.006114/0.6215, allocations: 3.518 MB / 0.8075 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.6233, allocations: 0.628 MB / 0.8081 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000844/0.6242, allocations: 344 kB / 0.8084 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/0.6243, allocations: 97.75 kB / 0.8085 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.6244, allocations: 42.5 kB / 0.8086 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=39): time 1.603e-06/0.6244, allocations: 0 / 0.8086 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of matching and sorting (n=41): time 0.008515/0.6329, allocations: 2.425 MB / 0.8109 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.633, allocations: 59.41 kB / 0.811 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009854/0.634, allocations: 0.7901 MB / 0.8118 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.574e-05/0.6341, allocations: 37.7 kB / 0.8118 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005066/0.6346, allocations: 447.6 kB / 0.8122 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.6347, allocations: 145.9 kB / 0.8124 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.6349, allocations: 110.1 kB / 0.8125 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.6351, allocations: 330 kB / 0.8128 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008638/0.6359, allocations: 305.5 kB / 0.8131 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009141/0.6369, allocations: 416.1 kB / 0.8135 GB, free: 12.27 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.005668/0.6425, allocations: 1.906 MB / 0.8153 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.6426, allocations: 4 kB / 0.8154 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003405/0.646, allocations: 1.049 MB / 0.8164 GB, free: 9.246 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.646, allocations: 4 kB / 0.8164 GB, free: 9.242 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.646, allocations: 8.094 kB / 0.8164 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006195/0.6466, allocations: 180.7 kB / 0.8166 GB, free: 9.055 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007515/0.6474, allocations: 147.8 kB / 0.8167 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003979/0.6514, allocations: 2.233 MB / 0.8189 GB, free: 6.547 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009465/0.6524, allocations: 53.11 kB / 0.8189 GB, free: 6.496 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.558e-05/0.6524, allocations: 23.98 kB / 0.819 GB, free: 6.473 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.000412/0.6528, allocations: 277.6 kB / 0.8192 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.653, allocations: 94.91 kB / 0.8193 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002056/0.6532, allocations: 100.2 kB / 0.8194 GB, free: 5.992 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.6533, allocations: 4 kB / 0.8194 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6533, allocations: 0 / 0.8194 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003059/0.6563, allocations: 0.8988 MB / 0.8203 GB, free: 5.055 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005465/0.6618, allocations: 2.111 MB / 0.8224 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.6618, allocations: 11.97 kB / 0.8224 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006754/0.6625, allocations: 123.8 kB / 0.8225 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005653/0.6631, allocations: 192.7 kB / 0.8227 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.551e-05/0.6631, allocations: 12 kB / 0.8227 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003621/0.6668, allocations: 2.185 MB / 0.8248 GB, free: 192 kB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.6668, allocations: 4.031 kB / 0.8248 GB, free: 188 kB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003979/0.6708, allocations: 1.442 MB / 0.8262 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003859/0.6712, allocations: 240 kB / 0.8264 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.6713, allocations: 12.75 kB / 0.8265 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009042/0.6722, allocations: 61.02 kB / 0.8265 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.604e-05/0.6723, allocations: 47.81 kB / 0.8266 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.748e-05/0.6724, allocations: 31.97 kB / 0.8266 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006821/0.6731, allocations: 0.5576 MB / 0.8271 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6731, allocations: 0 / 0.8271 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008233/0.6739, allocations: 268 kB / 0.8274 GB, free: 13.47 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.004625/0.6786, allocations: 2.074 MB / 0.8294 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002219/0.6808, allocations: 0.8471 MB / 0.8302 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.6808, allocations: 4 kB / 0.8303 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.6818, allocations: 471.4 kB / 0.8307 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/0.6844, allocations: 0.5478 MB / 0.8312 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/0.7002, allocations: 7.971 MB / 0.839 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006074/0.7008, allocations: 1.044 MB / 0.84 GB, free: 156 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008423/0.7017, allocations: 207.2 kB / 0.8402 GB, free: 15.95 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004773/0.7022, allocations: 315.3 kB / 0.8405 GB, free: 15.64 MB / 0.67 GB Notification: Performance of SimCode: time 3.1e-07/0.7022, allocations: 0 / 0.8405 GB, free: 15.64 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2705/0.9727, allocations: 27.68 MB / 0.8676 GB, free: 211.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/12.1, allocations: 9.141 kB / 0.8676 GB, free: 211.9 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.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 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)