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.001041/0.001041, allocations: 100.9 kB / 16.27 MB, free: 5.93 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.001059/0.001059, allocations: 189.6 kB / 17.2 MB, free: 5.574 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.309/1.309, 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.7343/0.7343, allocations: 122.9 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.91 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2977, allocations: 77.92 MB / 0.5673 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.4615/0.7592, allocations: 190.4 MB / 0.7533 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007454/0.7667, allocations: 5.704 MB / 0.7588 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008802/0.7676, allocations: 43.45 kB / 0.7589 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.7688, allocations: 0.5663 MB / 0.7594 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003151/0.772, allocations: 1.621 MB / 0.761 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002761/0.7747, allocations: 1.199 MB / 0.7622 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002946/0.7777, allocations: 2.553 MB / 0.7647 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00123/0.7789, allocations: 1.033 MB / 0.7657 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001588/0.7805, allocations: 1.046 MB / 0.7667 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00133/0.7819, allocations: 0.8523 MB / 0.7675 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001957/0.7821, allocations: 110.2 kB / 0.7676 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002718/0.7848, allocations: 1.551 MB / 0.7692 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004632/0.7853, allocations: 0.4981 MB / 0.7696 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007835/0.7861, allocations: 0.6449 MB / 0.7703 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002822/0.7889, allocations: 2.154 MB / 0.7724 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.7889, allocations: 0.8438 kB / 0.7724 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7889, allocations: 0.9375 kB / 0.7724 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.764e-05/0.7889, allocations: 0 / 0.7724 GB, free: 1.391 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002377/0.7913, allocations: 1.521 MB / 0.7739 GB, free: 16.6 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.7914, allocations: 9.031 kB / 0.7739 GB, free: 16.6 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001655/0.7916, allocations: 141.3 kB / 0.774 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003003/0.7946, allocations: 478.6 kB / 0.7745 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.7958, allocations: 0.8144 MB / 0.7753 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003328/0.7962, allocations: 121 kB / 0.7754 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.7963, allocations: 94.12 kB / 0.7755 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.7983, allocations: 1.182 MB / 0.7766 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.7984, allocations: 5.359 kB / 0.7766 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.851e-05/0.7985, allocations: 34.47 kB / 0.7767 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.643e-05/0.7985, allocations: 39.56 kB / 0.7767 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002213/0.8007, allocations: 1.082 MB / 0.7777 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.006046/0.8068, allocations: 4.356 MB / 0.782 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/0.8087, allocations: 0.7591 MB / 0.7827 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008725/0.8095, allocations: 410.7 kB / 0.7831 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001723/0.8097, allocations: 105.7 kB / 0.7832 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.8098, allocations: 42.77 kB / 0.7833 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.064e-06/0.8098, allocations: 0 / 0.7833 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.005441/0.8152, allocations: 2.207 MB / 0.7854 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.8153, allocations: 57.31 kB / 0.7855 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008562/0.8162, allocations: 0.866 MB / 0.7863 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.796e-05/0.8162, allocations: 36.89 kB / 0.7864 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/0.8165, allocations: 0.4918 MB / 0.7868 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.8167, allocations: 159.7 kB / 0.787 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/0.8169, allocations: 124.2 kB / 0.7871 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.817, allocations: 331.5 kB / 0.7874 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009035/0.8179, allocations: 371.4 kB / 0.7878 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009859/0.8189, allocations: 0.5043 MB / 0.7883 GB, free: 12.62 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.00589/0.8248, allocations: 2.303 MB / 0.7905 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.8248, allocations: 3.281 kB / 0.7905 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002164/0.827, allocations: 0.9932 MB / 0.7915 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.827, allocations: 7.438 kB / 0.7915 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.827, allocations: 7.219 kB / 0.7915 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.827, allocations: 6.234 kB / 0.7915 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009112/0.828, allocations: 193.2 kB / 0.7917 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.828, allocations: 8.656 kB / 0.7917 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.8291, allocations: 67.78 kB / 0.7918 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.562e-05/0.8291, allocations: 24.81 kB / 0.7918 GB, free: 12.19 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 (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.0004443/0.8296, allocations: 320.3 kB / 0.7921 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.8297, allocations: 102.5 kB / 0.7922 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001886/0.8299, allocations: 108 kB / 0.7923 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.8299, allocations: 2.812 kB / 0.7923 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.83, allocations: 2.406 kB / 0.7923 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001879/0.8318, allocations: 1.038 MB / 0.7933 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004257/0.8361, allocations: 2.154 MB / 0.7954 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.8361, allocations: 3.531 kB / 0.7954 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008446/0.837, allocations: 167.2 kB / 0.7956 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-06/0.837, allocations: 13.06 kB / 0.7956 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-05/0.837, allocations: 16.69 kB / 0.7956 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.8371, allocations: 10.17 kB / 0.7956 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.8371, allocations: 2.656 kB / 0.7956 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002871/0.8399, allocations: 1.435 MB / 0.797 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003807/0.8403, allocations: 259.3 kB / 0.7973 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/0.8405, allocations: 13.38 kB / 0.7973 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000931/0.8414, allocations: 70.2 kB / 0.7974 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.976e-05/0.8415, allocations: 45.39 kB / 0.7974 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.63e-05/0.8416, allocations: 29.52 kB / 0.7974 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007268/0.8423, allocations: 0.6028 MB / 0.798 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8423, allocations: 3.938 kB / 0.798 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000804/0.8432, allocations: 269 kB / 0.7983 GB, free: 10.5 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 (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.00346/0.8466, allocations: 2.072 MB / 0.8003 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002086/0.8487, allocations: 0.8797 MB / 0.8012 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.8487, allocations: 1.312 kB / 0.8012 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009473/0.8497, allocations: 405.5 kB / 0.8016 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002395/0.8521, allocations: 0.5751 MB / 0.8021 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01358/0.8657, allocations: 8.567 MB / 0.8105 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006281/0.8663, allocations: 1.115 MB / 0.8116 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009911/0.8673, allocations: 257.8 kB / 0.8118 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004417/0.8678, allocations: 351.2 kB / 0.8122 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/0.8678, allocations: 0 / 0.8122 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04871/0.9165, allocations: 28.53 MB / 0.84 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.617/8.534, allocations: 4.875 kB / 0.84 GB, free: 11.34 MB / 0.6231 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)