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.001107/0.001107, allocations: 107.1 kB / 16.4 MB, free: 6.516 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.001128/0.001128, allocations: 189.3 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.263/1.263, 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.7316/0.7316, allocations: 126.1 MB / 417.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 65.02 kB / 0.5726 GB, free: 27.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1293, allocations: 78.71 MB / 0.6495 GB, free: 4.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.4838/0.6131, allocations: 190.5 MB / 0.8355 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009395/0.6226, allocations: 5.699 MB / 0.8411 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00156/0.6242, allocations: 40.94 kB / 0.8411 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001809/0.626, allocations: 0.6019 MB / 0.8417 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004383/0.6304, allocations: 1.666 MB / 0.8433 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003159/0.6336, allocations: 1.233 MB / 0.8445 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003145/0.6368, allocations: 2.568 MB / 0.847 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001421/0.6382, allocations: 1.026 MB / 0.848 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001927/0.6401, allocations: 1.084 MB / 0.8491 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0018/0.6419, allocations: 0.8444 MB / 0.8499 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002594/0.6422, allocations: 108.4 kB / 0.85 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002941/0.6452, allocations: 1.569 MB / 0.8515 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006237/0.6458, allocations: 0.4903 MB / 0.852 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001089/0.6469, allocations: 0.6388 MB / 0.8526 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003446/0.6504, allocations: 2.187 MB / 0.8548 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.6504, allocations: 3.938 kB / 0.8548 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6504, allocations: 0 / 0.8548 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.539e-05/0.6504, allocations: 2.781 kB / 0.8548 GB, free: 2.238 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.002942/0.6534, allocations: 1.552 MB / 0.8563 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.6534, allocations: 12.03 kB / 0.8563 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002212/0.6537, allocations: 139.3 kB / 0.8564 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002946/0.6566, allocations: 483.4 kB / 0.8569 GB, free: 228 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/0.6583, allocations: 0.8598 MB / 0.8577 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.978e-05/0.6583, allocations: 69.98 kB / 0.8578 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.6585, allocations: 87.94 kB / 0.8579 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.6607, allocations: 1.171 MB / 0.859 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.6608, allocations: 3.984 kB / 0.859 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.562e-05/0.6609, allocations: 36 kB / 0.8591 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-05/0.6609, allocations: 34 kB / 0.8591 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002378/0.6633, allocations: 1.07 MB / 0.8602 GB, free: 12.83 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.007022/0.6704, allocations: 4.317 MB / 0.8644 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.6723, allocations: 0.7482 MB / 0.8651 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000901/0.6732, allocations: 405.4 kB / 0.8655 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001806/0.6734, allocations: 109.1 kB / 0.8656 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.6734, allocations: 38.56 kB / 0.8656 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 2.294e-06/0.6734, allocations: 0 / 0.8656 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.005842/0.6793, allocations: 2.197 MB / 0.8678 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.6793, allocations: 55.41 kB / 0.8678 GB, free: 4.609 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.6804, allocations: 0.8647 MB / 0.8687 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.02e-05/0.6805, allocations: 37.7 kB / 0.8687 GB, free: 3.695 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003461/0.6809, allocations: 0.5002 MB / 0.8692 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.681, allocations: 162.6 kB / 0.8694 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.6813, allocations: 130.2 kB / 0.8695 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.6814, allocations: 326 kB / 0.8698 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009165/0.6823, allocations: 373 kB / 0.8701 GB, free: 2.207 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.6833, allocations: 0.4975 MB / 0.8706 GB, free: 1.66 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.005878/0.6892, allocations: 2.262 MB / 0.8728 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.6892, allocations: 4 kB / 0.8728 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002258/0.6915, allocations: 0.9904 MB / 0.8738 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.6915, allocations: 5.875 kB / 0.8738 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.6915, allocations: 7.938 kB / 0.8738 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.6916, allocations: 8 kB / 0.8738 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009049/0.6925, allocations: 191.8 kB / 0.874 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/0.6925, allocations: 7.984 kB / 0.874 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009974/0.6935, allocations: 63.94 kB / 0.8741 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.914e-05/0.6936, allocations: 31.92 kB / 0.8741 GB, free: 14.02 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.0004805/0.6941, allocations: 315.4 kB / 0.8744 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/0.6943, allocations: 103.3 kB / 0.8745 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.6946, allocations: 112.7 kB / 0.8746 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.6946, allocations: 4 kB / 0.8746 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.6946, allocations: 4 kB / 0.8746 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001958/0.6965, allocations: 1.019 MB / 0.8756 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00452/0.7011, allocations: 2.144 MB / 0.8777 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.7011, allocations: 3.984 kB / 0.8777 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008468/0.702, allocations: 164.2 kB / 0.8779 GB, free: 9.961 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/0.702, allocations: 4 kB / 0.8779 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.927e-05/0.702, allocations: 15.98 kB / 0.8779 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.005e-05/0.702, allocations: 11.88 kB / 0.8779 GB, free: 9.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.7021, allocations: 4 kB / 0.8779 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002975/0.705, allocations: 1.415 MB / 0.8793 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004512/0.7055, allocations: 264.5 kB / 0.8795 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/0.7057, allocations: 15.98 kB / 0.8796 GB, free: 8.164 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009348/0.7066, allocations: 76.5 kB / 0.8796 GB, free: 8.09 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.103e-05/0.7067, allocations: 31.91 kB / 0.8797 GB, free: 8.059 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.991e-05/0.7068, allocations: 35.97 kB / 0.8797 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007801/0.7076, allocations: 0.5966 MB / 0.8803 GB, free: 7.434 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7076, allocations: 0 / 0.8803 GB, free: 7.434 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008646/0.7085, allocations: 267.9 kB / 0.8805 GB, free: 7.172 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.003534/0.712, allocations: 2.083 MB / 0.8826 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002015/0.7141, allocations: 0.8149 MB / 0.8834 GB, free: 4.207 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.7141, allocations: 0 / 0.8834 GB, free: 4.207 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000941/0.715, allocations: 389.4 kB / 0.8837 GB, free: 3.828 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002631/0.7177, allocations: 0.5824 MB / 0.8843 GB, free: 3.258 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0143/0.732, allocations: 8.219 MB / 0.8923 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007211/0.7327, allocations: 1.106 MB / 0.8934 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009362/0.7337, allocations: 263.8 kB / 0.8937 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005377/0.7342, allocations: 351.3 kB / 0.894 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of SimCode: time 7.61e-07/0.7343, allocations: 0 / 0.894 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05393/0.7882, allocations: 28.7 MB / 0.922 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.11/9.898, allocations: 8.438 kB / 0.922 GB, free: 12.71 MB / 0.6856 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)