Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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.001031/0.001031, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001003/0.001003, allocations: 192 kB / 17.2 MB, free: 5.598 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.276/1.276, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7309/0.7309, allocations: 122.9 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 59.91 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3074, allocations: 77.92 MB / 0.5673 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4396/0.747, allocations: 190.4 MB / 0.7533 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007469/0.7545, allocations: 5.7 MB / 0.7588 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000922/0.7555, allocations: 42.22 kB / 0.7589 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.7568, allocations: 0.5648 MB / 0.7594 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003584/0.7604, allocations: 1.834 MB / 0.7612 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002717/0.7631, allocations: 1.169 MB / 0.7623 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003425/0.7666, allocations: 2.962 MB / 0.7652 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/0.768, allocations: 1.122 MB / 0.7663 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001784/0.7698, allocations: 1.049 MB / 0.7674 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001675/0.7715, allocations: 0.967 MB / 0.7683 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002268/0.7718, allocations: 124.5 kB / 0.7684 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002703/0.7745, allocations: 1.442 MB / 0.7698 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005617/0.775, allocations: 0.5713 MB / 0.7704 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008265/0.7759, allocations: 0.7234 MB / 0.7711 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003023/0.7789, allocations: 2.317 MB / 0.7734 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.7789, allocations: 1.406 kB / 0.7734 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7789, allocations: 0 / 0.7734 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.711e-05/0.779, allocations: 1.812 kB / 0.7734 GB, free: 1.383 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.00263/0.7816, allocations: 1.624 MB / 0.7749 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.7817, allocations: 12.53 kB / 0.775 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001688/0.7818, allocations: 158 kB / 0.7751 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001925/0.7838, allocations: 330.9 kB / 0.7754 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.7849, allocations: 0.8708 MB / 0.7763 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.994e-05/0.785, allocations: 78.03 kB / 0.7763 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.7851, allocations: 100.1 kB / 0.7764 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.7866, allocations: 1.083 MB / 0.7775 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.7866, allocations: 0 / 0.7775 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.861e-05/0.7867, allocations: 44.27 kB / 0.7775 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.865e-05/0.7868, allocations: 43.19 kB / 0.7776 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.7882, allocations: 0.9914 MB / 0.7786 GB, free: 16.06 MB / 0.5919 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.005074/0.7933, allocations: 4.266 MB / 0.7827 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007275/0.794, allocations: 0.5959 MB / 0.7833 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004189/0.7945, allocations: 344 kB / 0.7836 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001749/0.7946, allocations: 106.2 kB / 0.7837 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.7947, allocations: 45.84 kB / 0.7838 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 1.744e-06/0.7947, allocations: 0.6562 kB / 0.7838 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.003467/0.7982, allocations: 2.195 MB / 0.7859 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.7982, allocations: 58.19 kB / 0.786 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008679/0.7991, allocations: 0.8863 MB / 0.7868 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.444e-05/0.7991, allocations: 38.73 kB / 0.7869 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002985/0.7995, allocations: 0.519 MB / 0.7874 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.7996, allocations: 193.3 kB / 0.7876 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.7998, allocations: 130.1 kB / 0.7877 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.919e-05/0.7999, allocations: 332.8 kB / 0.788 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/0.8003, allocations: 289.7 kB / 0.7883 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004942/0.8008, allocations: 439.8 kB / 0.7887 GB, free: 12.32 MB / 0.5919 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.003515/0.8044, allocations: 1.743 MB / 0.7904 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.8044, allocations: 0 / 0.7904 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001276/0.8057, allocations: 0.9267 MB / 0.7913 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.8057, allocations: 9.156 kB / 0.7913 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.8057, allocations: 6.094 kB / 0.7913 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001767/0.8059, allocations: 98.19 kB / 0.7914 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006773/0.8066, allocations: 166.3 kB / 0.7916 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003139/0.8097, allocations: 4.634 MB / 0.7961 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008961/0.8106, allocations: 38.48 kB / 0.7961 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.727e-05/0.8107, allocations: 24.5 kB / 0.7962 GB, free: 7.883 MB / 0.5919 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004827/0.8112, allocations: 346 kB / 0.7965 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.8113, allocations: 99.39 kB / 0.7966 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.8115, allocations: 110.5 kB / 0.7967 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.8115, allocations: 8.312 kB / 0.7967 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.8115, allocations: 4.625 kB / 0.7967 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009374/0.8125, allocations: 0.7666 MB / 0.7975 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002718/0.8152, allocations: 1.981 MB / 0.7994 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.8152, allocations: 3.844 kB / 0.7994 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006432/0.8159, allocations: 145.2 kB / 0.7995 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.565e-05/0.816, allocations: 42.94 kB / 0.7996 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-05/0.816, allocations: 14.66 kB / 0.7996 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.8171, allocations: 1.616 MB / 0.8012 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.8171, allocations: 3.031 kB / 0.8012 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.8186, allocations: 1.208 MB / 0.8023 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003752/0.819, allocations: 256.7 kB / 0.8026 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.8192, allocations: 13.75 kB / 0.8026 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007236/0.8199, allocations: 32.06 kB / 0.8026 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.85e-05/0.82, allocations: 44.7 kB / 0.8027 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.819e-05/0.8201, allocations: 35.11 kB / 0.8027 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006828/0.8208, allocations: 0.6153 MB / 0.8033 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.72e-07/0.8208, allocations: 0.8438 kB / 0.8033 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009134/0.8217, allocations: 304.5 kB / 0.8036 GB, free: 5.086 MB / 0.5919 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 (53): * Single equations (assignments): 52 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002061/0.8237, allocations: 1.857 MB / 0.8054 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001577/0.8253, allocations: 1.115 MB / 0.8065 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.8253, allocations: 2.938 kB / 0.8065 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005972/0.826, allocations: 447.9 kB / 0.8069 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00274/0.8287, allocations: 0.6596 MB / 0.8076 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009956/0.8387, allocations: 8.294 MB / 0.8157 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006393/0.8393, allocations: 1.171 MB / 0.8168 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009453/0.8403, allocations: 249.1 kB / 0.8171 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004108/0.8407, allocations: 382.3 kB / 0.8174 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of SimCode: time 8.42e-07/0.8407, allocations: 0 / 0.8174 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05373/0.8944, allocations: 30.23 MB / 0.8469 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.79, allocations: 25.56 kB / 0.847 GB, free: 4.754 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.004 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)