Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",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.001651/0.00165, 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.001972/0.001972, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.9637/0.9637, allocations: 143 MB / 433.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 55.91 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1387, allocations: 82.04 MB / 0.5944 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.4232/0.5619, allocations: 190.6 MB / 0.7805 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008597/0.5705, allocations: 5.704 MB / 0.7861 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009251/0.5715, allocations: 43.75 kB / 0.7861 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.5729, allocations: 0.5669 MB / 0.7867 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003445/0.5763, allocations: 1.618 MB / 0.7882 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00273/0.5791, allocations: 1.195 MB / 0.7894 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002739/0.5818, allocations: 2.563 MB / 0.7919 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/0.5831, allocations: 1.038 MB / 0.7929 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001714/0.5848, allocations: 1.043 MB / 0.7939 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001662/0.5865, allocations: 0.8542 MB / 0.7948 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001842/0.5867, allocations: 108 kB / 0.7949 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002976/0.5897, allocations: 1.547 MB / 0.7964 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005288/0.5902, allocations: 0.4987 MB / 0.7969 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006891/0.5909, allocations: 0.6456 MB / 0.7975 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002735/0.5936, allocations: 2.224 MB / 0.7997 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.5937, allocations: 0 / 0.7997 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5937, allocations: 3.938 kB / 0.7997 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.5937, allocations: 0 / 0.7997 GB, free: 10.87 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002269/0.596, allocations: 1.515 MB / 0.8012 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.596, allocations: 8.031 kB / 0.8012 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001613/0.5962, allocations: 144.2 kB / 0.8013 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003031/0.5992, allocations: 482 kB / 0.8018 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.6006, allocations: 0.8085 MB / 0.8025 GB, free: 7.828 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003554/0.6009, allocations: 121.9 kB / 0.8027 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.6011, allocations: 95.89 kB / 0.8028 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00217/0.6032, allocations: 1.19 MB / 0.8039 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.6033, allocations: 0 / 0.8039 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.915e-05/0.6034, allocations: 40 kB / 0.804 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.355e-05/0.6034, allocations: 41.92 kB / 0.804 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002368/0.6058, allocations: 1.073 MB / 0.805 GB, free: 5.25 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.006724/0.6125, allocations: 4.361 MB / 0.8093 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00206/0.6146, allocations: 0.7603 MB / 0.81 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009644/0.6156, allocations: 407.9 kB / 0.8104 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/0.6158, allocations: 109 kB / 0.8105 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.6158, allocations: 42.52 kB / 0.8106 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 3.337e-06/0.6158, allocations: 0 / 0.8106 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.005816/0.6216, allocations: 2.21 MB / 0.8127 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.6217, allocations: 55.41 kB / 0.8128 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009588/0.6226, allocations: 0.8647 MB / 0.8136 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/0.6227, allocations: 41.64 kB / 0.8137 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/0.623, allocations: 491.2 kB / 0.8141 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/0.6232, allocations: 169.7 kB / 0.8143 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/0.6234, allocations: 126.1 kB / 0.8144 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.886e-05/0.6235, allocations: 322 kB / 0.8147 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009946/0.6245, allocations: 381 kB / 0.8151 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.6256, allocations: 0.4975 MB / 0.8156 GB, free: 10.02 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.006309/0.6319, allocations: 2.293 MB / 0.8178 GB, free: 7.66 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6319, allocations: 0 / 0.8178 GB, free: 7.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002337/0.6342, allocations: 0.9938 MB / 0.8188 GB, free: 6.656 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.6343, allocations: 8.031 kB / 0.8188 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.6343, allocations: 4 kB / 0.8188 GB, free: 6.645 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.6343, allocations: 11.94 kB / 0.8188 GB, free: 6.633 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009602/0.6353, allocations: 191.7 kB / 0.819 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.6353, allocations: 8 kB / 0.819 GB, free: 6.438 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000974/0.6363, allocations: 71.92 kB / 0.8191 GB, free: 6.367 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.603e-05/0.6363, allocations: 27.98 kB / 0.8191 GB, free: 6.34 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: 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.0003989/0.6367, allocations: 313.5 kB / 0.8194 GB, free: 6.023 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.6369, allocations: 94.88 kB / 0.8195 GB, free: 5.93 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001819/0.6371, allocations: 108.8 kB / 0.8196 GB, free: 5.82 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.6371, allocations: 7.938 kB / 0.8196 GB, free: 5.812 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.6371, allocations: 0 / 0.8196 GB, free: 5.812 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002062/0.6392, allocations: 1.028 MB / 0.8206 GB, free: 4.699 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004451/0.6436, allocations: 2.152 MB / 0.8227 GB, free: 2.449 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.6437, allocations: 4 kB / 0.8227 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008946/0.6446, allocations: 173.2 kB / 0.8229 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.6446, allocations: 7.938 kB / 0.8229 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.254e-05/0.6446, allocations: 19.98 kB / 0.8229 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/0.6446, allocations: 7.938 kB / 0.8229 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.6447, allocations: 7.938 kB / 0.8229 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003105/0.6478, allocations: 1.441 MB / 0.8243 GB, free: 0.7305 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003566/0.6481, allocations: 252 kB / 0.8246 GB, free: 476 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.6483, allocations: 12 kB / 0.8246 GB, free: 464 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009309/0.6492, allocations: 72.8 kB / 0.8246 GB, free: 392 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.464e-05/0.6493, allocations: 35.84 kB / 0.8247 GB, free: 356 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.759e-05/0.6494, allocations: 35.97 kB / 0.8247 GB, free: 320 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007006/0.6501, allocations: 0.6044 MB / 0.8253 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6501, allocations: 0 / 0.8253 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007608/0.6508, allocations: 264 kB / 0.8256 GB, free: 15.46 MB / 0.6544 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.003738/0.6546, allocations: 2.082 MB / 0.8276 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002274/0.6569, allocations: 0.8898 MB / 0.8285 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.6569, allocations: 4 kB / 0.8285 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.6579, allocations: 400.5 kB / 0.8288 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002573/0.6605, allocations: 0.576 MB / 0.8294 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01426/0.6748, allocations: 8.566 MB / 0.8378 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006217/0.6754, allocations: 1.106 MB / 0.8389 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000971/0.6764, allocations: 267.8 kB / 0.8391 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005049/0.6769, allocations: 357 kB / 0.8394 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/0.6769, allocations: 0 / 0.8394 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3543/1.031, allocations: 28.57 MB / 0.8674 GB, free: 211.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.894/8.925, allocations: 6.844 kB / 0.8674 GB, free: 211.3 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.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 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)