Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_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.001289/0.001289, allocations: 106.2 kB / 16.4 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.255/1.255, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7123/0.7123, allocations: 122.9 MB / 414.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 67.78 kB / 0.568 GB, free: 28.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1272, allocations: 77.93 MB / 0.6441 GB, free: 9.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.4659/0.5931, allocations: 190.5 MB / 0.8301 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008284/0.6014, allocations: 5.712 MB / 0.8357 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.6025, allocations: 45.16 kB / 0.8357 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.6039, allocations: 0.5938 MB / 0.8363 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003484/0.6074, allocations: 1.67 MB / 0.8379 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002695/0.6101, allocations: 1.23 MB / 0.8391 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00257/0.6127, allocations: 2.56 MB / 0.8416 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.6138, allocations: 1.028 MB / 0.8426 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.6154, allocations: 1.088 MB / 0.8437 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001433/0.6168, allocations: 0.8497 MB / 0.8445 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.617, allocations: 108.2 kB / 0.8446 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002555/0.6196, allocations: 1.564 MB / 0.8462 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004373/0.62, allocations: 0.4891 MB / 0.8466 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006027/0.6206, allocations: 0.6455 MB / 0.8473 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002578/0.6232, allocations: 2.179 MB / 0.8494 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.6232, allocations: 0 / 0.8494 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6232, allocations: 0 / 0.8494 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.86e-05/0.6232, allocations: 4 kB / 0.8494 GB, free: 8.609 MB / 0.6075 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.002236/0.6255, allocations: 1.563 MB / 0.8509 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.6255, allocations: 10.06 kB / 0.8509 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001562/0.6257, allocations: 141.4 kB / 0.8511 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002957/0.6287, allocations: 480.8 kB / 0.8515 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00148/0.6302, allocations: 0.8483 MB / 0.8524 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.199e-05/0.6302, allocations: 69.17 kB / 0.8524 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.6304, allocations: 97.95 kB / 0.8525 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/0.6324, allocations: 1.173 MB / 0.8537 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.6325, allocations: 7.938 kB / 0.8537 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.586e-05/0.6326, allocations: 36 kB / 0.8537 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.646e-05/0.6326, allocations: 37.98 kB / 0.8537 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002274/0.6349, allocations: 1.066 MB / 0.8548 GB, free: 4.188 MB / 0.6075 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.006541/0.6415, allocations: 4.328 MB / 0.859 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001912/0.6434, allocations: 0.7386 MB / 0.8597 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009034/0.6443, allocations: 400.6 kB / 0.8601 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001662/0.6445, allocations: 101.8 kB / 0.8602 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.6445, allocations: 46.56 kB / 0.8602 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 2.114e-06/0.6445, allocations: 3.938 kB / 0.8603 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.005612/0.6502, allocations: 2.194 MB / 0.8624 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.6502, allocations: 67.34 kB / 0.8625 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009557/0.6512, allocations: 0.8647 MB / 0.8633 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.1e-05/0.6513, allocations: 37.7 kB / 0.8633 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003234/0.6516, allocations: 0.4885 MB / 0.8638 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.6517, allocations: 166.6 kB / 0.864 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002009/0.6519, allocations: 126.2 kB / 0.8641 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.784e-05/0.652, allocations: 326 kB / 0.8644 GB, free: 9.93 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009289/0.653, allocations: 373 kB / 0.8648 GB, free: 9.562 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.654, allocations: 0.4974 MB / 0.8652 GB, free: 9.016 MB / 0.6231 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.005993/0.66, allocations: 2.258 MB / 0.8675 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.66, allocations: 0 / 0.8675 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002281/0.6623, allocations: 0.9903 MB / 0.8684 GB, free: 5.688 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.6623, allocations: 11.94 kB / 0.8684 GB, free: 5.676 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.6624, allocations: 4 kB / 0.8684 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.6624, allocations: 8 kB / 0.8684 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009309/0.6633, allocations: 191.8 kB / 0.8686 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.6633, allocations: 11.94 kB / 0.8686 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.6644, allocations: 71.92 kB / 0.8687 GB, free: 5.395 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.938e-05/0.6644, allocations: 24.55 kB / 0.8687 GB, free: 5.371 MB / 0.6231 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.0004527/0.6649, allocations: 314.4 kB / 0.869 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.6651, allocations: 99.39 kB / 0.8691 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002006/0.6653, allocations: 100.8 kB / 0.8692 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.6653, allocations: 7.938 kB / 0.8692 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.6653, allocations: 0 / 0.8692 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001902/0.6672, allocations: 1.03 MB / 0.8702 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004376/0.6716, allocations: 2.141 MB / 0.8723 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/0.6716, allocations: 4 kB / 0.8723 GB, free: 1.484 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008675/0.6725, allocations: 168.2 kB / 0.8725 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.6725, allocations: 7.938 kB / 0.8725 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.264e-05/0.6725, allocations: 15.94 kB / 0.8725 GB, free: 1.297 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.6725, allocations: 8 kB / 0.8725 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.6726, allocations: 7.938 kB / 0.8725 GB, free: 1.281 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00293/0.6755, allocations: 1.419 MB / 0.8739 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004332/0.6759, allocations: 264.4 kB / 0.8742 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.6761, allocations: 8 kB / 0.8742 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009045/0.677, allocations: 79.36 kB / 0.8742 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.061e-05/0.6771, allocations: 39.83 kB / 0.8743 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.405e-05/0.6771, allocations: 27.98 kB / 0.8743 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006873/0.6778, allocations: 0.6044 MB / 0.8749 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6779, allocations: 0 / 0.8749 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007933/0.6787, allocations: 267.9 kB / 0.8752 GB, free: 14.52 MB / 0.6387 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.003488/0.6821, allocations: 2.083 MB / 0.8772 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002027/0.6842, allocations: 0.7993 MB / 0.878 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.6842, allocations: 4.75 kB / 0.878 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009296/0.6851, allocations: 396.3 kB / 0.8784 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002433/0.6876, allocations: 0.5801 MB / 0.8789 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/0.7011, allocations: 8.223 MB / 0.887 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006267/0.7017, allocations: 1.11 MB / 0.888 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008716/0.7026, allocations: 255.8 kB / 0.8883 GB, free: 0.6992 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005062/0.7031, allocations: 359.3 kB / 0.8886 GB, free: 360 kB / 0.6387 GB Notification: Performance of SimCode: time 8.71e-07/0.7032, allocations: 0 / 0.8886 GB, free: 360 kB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04911/0.7523, allocations: 28.69 MB / 0.9166 GB, free: 4.098 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.99/9.743, allocations: 18.95 kB / 0.9167 GB, free: 4.082 MB / 0.67 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file IBPSA_latest_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 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)