Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumeHeatReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.001234/0.001234, allocations: 101.5 kB / 16.27 MB, free: 5.898 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.001342/0.001342, allocations: 187.5 kB / 17.2 MB, free: 5.535 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.307/1.307, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7362/0.7362, allocations: 122.8 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 59.91 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.341, allocations: 77.92 MB / 0.5673 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.569/0.91, allocations: 190.5 MB / 0.7534 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008411/0.9185, allocations: 5.728 MB / 0.759 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001784/0.9203, allocations: 42.84 kB / 0.759 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001787/0.9222, allocations: 0.5802 MB / 0.7596 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004876/0.9271, allocations: 1.841 MB / 0.7614 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003317/0.9304, allocations: 1.171 MB / 0.7625 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004314/0.9347, allocations: 2.948 MB / 0.7654 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001601/0.9363, allocations: 0.9548 MB / 0.7663 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002186/0.9385, allocations: 1.048 MB / 0.7673 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002249/0.9408, allocations: 0.9174 MB / 0.7682 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004246/0.9412, allocations: 108.4 kB / 0.7683 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003353/0.9446, allocations: 1.426 MB / 0.7697 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007755/0.9454, allocations: 460.8 kB / 0.7702 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001719/0.9471, allocations: 0.6559 MB / 0.7708 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004583/0.9517, allocations: 2.116 MB / 0.7729 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.9517, allocations: 0.9688 kB / 0.7729 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9518, allocations: 0.7812 kB / 0.7729 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.685e-05/0.9518, allocations: 0 / 0.7729 GB, free: 1.453 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.004474/0.9563, allocations: 1.523 MB / 0.7744 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.9564, allocations: 10.25 kB / 0.7744 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004255/0.9568, allocations: 140.5 kB / 0.7745 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002394/0.9592, allocations: 312.6 kB / 0.7748 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001751/0.961, allocations: 0.8177 MB / 0.7756 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.808e-05/0.961, allocations: 68.98 kB / 0.7757 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002124/0.9613, allocations: 88.03 kB / 0.7758 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/0.963, allocations: 0.9116 MB / 0.7766 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.9631, allocations: 2.312 kB / 0.7767 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.9632, allocations: 40.66 kB / 0.7767 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.115e-05/0.9632, allocations: 31.72 kB / 0.7767 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.9647, allocations: 0.8302 MB / 0.7775 GB, free: 16.18 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.005554/0.9702, allocations: 3.543 MB / 0.781 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006507/0.9709, allocations: 0.4912 MB / 0.7815 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003806/0.9713, allocations: 297.6 kB / 0.7818 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001814/0.9715, allocations: 107 kB / 0.7819 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.9715, allocations: 43.59 kB / 0.7819 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 3.046e-06/0.9716, allocations: 0.9062 kB / 0.7819 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.003949/0.9755, allocations: 1.911 MB / 0.7838 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.9756, allocations: 66.5 kB / 0.7838 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009235/0.9765, allocations: 0.8046 MB / 0.7846 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.687e-05/0.9766, allocations: 40.89 kB / 0.7847 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002869/0.9769, allocations: 472.2 kB / 0.7851 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.977, allocations: 174.5 kB / 0.7853 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/0.9772, allocations: 112.9 kB / 0.7854 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.9774, allocations: 329.1 kB / 0.7857 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003899/0.9778, allocations: 246.6 kB / 0.7859 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004785/0.9782, allocations: 355.4 kB / 0.7863 GB, free: 13.05 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.003423/0.9817, allocations: 1.531 MB / 0.7878 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.9817, allocations: 2.406 kB / 0.7878 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001228/0.9829, allocations: 0.7884 MB / 0.7885 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.983, allocations: 4.312 kB / 0.7885 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.983, allocations: 3.906 kB / 0.7885 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002841/0.9833, allocations: 98.11 kB / 0.7886 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006255/0.9839, allocations: 146.5 kB / 0.7888 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002821/0.9867, allocations: 3.304 MB / 0.792 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.9878, allocations: 27.61 kB / 0.792 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.035e-05/0.9878, allocations: 18.91 kB / 0.792 GB, free: 10.02 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: 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005198/0.9884, allocations: 307.6 kB / 0.7923 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/0.9886, allocations: 88.34 kB / 0.7924 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002093/0.9888, allocations: 107.6 kB / 0.7925 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.9888, allocations: 3.188 kB / 0.7925 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.9888, allocations: 3.406 kB / 0.7925 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009959/0.9898, allocations: 0.8435 MB / 0.7934 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002861/0.9927, allocations: 1.784 MB / 0.7951 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.9927, allocations: 5.922 kB / 0.7951 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005924/0.9933, allocations: 130.9 kB / 0.7952 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002243/0.9936, allocations: 71.92 kB / 0.7953 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.354e-05/0.9936, allocations: 15.41 kB / 0.7953 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/0.9952, allocations: 1.783 MB / 0.7971 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.9952, allocations: 3.562 kB / 0.7971 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.9969, allocations: 1.074 MB / 0.7981 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005429/0.9975, allocations: 236.8 kB / 0.7983 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/0.9977, allocations: 16.41 kB / 0.7983 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007922/0.9985, allocations: 36.03 kB / 0.7984 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.9986, allocations: 50.92 kB / 0.7984 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.915e-05/0.9987, allocations: 34.16 kB / 0.7985 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007243/0.9994, allocations: 0.5582 MB / 0.799 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9994, allocations: 0.8438 kB / 0.799 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001216/1.001, allocations: 286.4 kB / 0.7993 GB, free: 7.047 MB / 0.5919 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 (45): * Single equations (assignments): 44 * 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.002119/1.003, allocations: 1.711 MB / 0.801 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00139/1.004, allocations: 0.8503 MB / 0.8018 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/1.004, allocations: 0 / 0.8018 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005347/1.005, allocations: 424.8 kB / 0.8022 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00291/1.008, allocations: 0.5986 MB / 0.8028 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/1.018, allocations: 7.288 MB / 0.8099 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007601/1.019, allocations: 1.093 MB / 0.811 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001017/1.02, allocations: 209.8 kB / 0.8112 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004305/1.021, allocations: 343 kB / 0.8115 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of SimCode: time 8.02e-07/1.021, allocations: 4 kB / 0.8115 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05912/1.08, allocations: 27.8 MB / 0.8386 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.95, allocations: 15.61 kB / 0.8387 GB, free: 12.66 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_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_MixingVolumeHeatReverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)