Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_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.004389/0.004389, allocations: 100 kB / 15.73 MB, free: 6.062 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.001055/0.001055, allocations: 193.8 kB / 16.68 MB, free: 5.973 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9257/0.9257, allocations: 143 MB / 433.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 67.89 kB / 0.5951 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3406, allocations: 82.03 MB / 0.6752 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1904/0.531, allocations: 190.6 MB / 0.8613 GB, free: 7.164 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.008584/0.5396, allocations: 5.724 MB / 0.8669 GB, free: 1.426 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008934/0.5405, allocations: 43.75 kB / 0.8669 GB, free: 1.383 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.5419, allocations: 0.5864 MB / 0.8675 GB, free: 0.793 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.3519/0.8939, allocations: 1.669 MB / 0.8691 GB, free: 2.73 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002897/0.8968, allocations: 1.22 MB / 0.8703 GB, free: 2.723 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002952/0.8997, allocations: 2.558 MB / 0.8728 GB, free: 2.723 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001273/0.901, allocations: 1.039 MB / 0.8738 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001645/0.9027, allocations: 1.082 MB / 0.8749 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/0.9041, allocations: 0.8514 MB / 0.8757 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001926/0.9043, allocations: 110.2 kB / 0.8758 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002747/0.9071, allocations: 1.567 MB / 0.8774 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005618/0.9076, allocations: 0.4953 MB / 0.8779 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008047/0.9084, allocations: 0.644 MB / 0.8785 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002899/0.9113, allocations: 2.25 MB / 0.8807 GB, free: 2.492 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.9114, allocations: 0.625 kB / 0.8807 GB, free: 2.492 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.795e-06/0.9114, allocations: 1.031 kB / 0.8807 GB, free: 2.492 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.783e-05/0.9114, allocations: 4.922 kB / 0.8807 GB, free: 2.492 MB / 0.6856 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.002545/0.9139, allocations: 1.556 MB / 0.8822 GB, free: 17.66 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.914, allocations: 9.344 kB / 0.8822 GB, free: 17.66 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001596/0.9142, allocations: 142.2 kB / 0.8823 GB, free: 17.62 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003043/0.9172, allocations: 479.7 kB / 0.8828 GB, free: 17.55 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.9188, allocations: 0.862 MB / 0.8836 GB, free: 17.23 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.474e-05/0.9188, allocations: 66.28 kB / 0.8837 GB, free: 17.23 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/0.919, allocations: 85.97 kB / 0.8838 GB, free: 17.23 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002087/0.9211, allocations: 1.181 MB / 0.8849 GB, free: 17.12 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.9211, allocations: 4.797 kB / 0.885 GB, free: 17.12 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.772e-05/0.9212, allocations: 37.34 kB / 0.885 GB, free: 17.12 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.594e-05/0.9213, allocations: 33.25 kB / 0.885 GB, free: 17.12 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002305/0.9236, allocations: 1.067 MB / 0.8861 GB, free: 17.11 MB / 0.7012 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.006635/0.9302, allocations: 4.326 MB / 0.8903 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/0.9321, allocations: 0.7444 MB / 0.891 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008646/0.933, allocations: 399.7 kB / 0.8914 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/0.9332, allocations: 105.7 kB / 0.8915 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.9332, allocations: 43.25 kB / 0.8915 GB, free: 15.15 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=43): time 2.304e-06/0.9332, allocations: 2.062 kB / 0.8915 GB, free: 15.15 MB / 0.7012 GB Notification: Performance of matching and sorting (n=45): time 0.005926/0.9392, allocations: 2.193 MB / 0.8937 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.9392, allocations: 58.28 kB / 0.8937 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009507/0.9402, allocations: 0.8719 MB / 0.8946 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.775e-05/0.9403, allocations: 35.98 kB / 0.8946 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/0.9405, allocations: 0.4896 MB / 0.8951 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.9407, allocations: 168.7 kB / 0.8953 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.9409, allocations: 126.1 kB / 0.8954 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.941, allocations: 331.4 kB / 0.8957 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000859/0.9418, allocations: 370.8 kB / 0.896 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009057/0.9428, allocations: 0.4986 MB / 0.8965 GB, free: 13.64 MB / 0.7012 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.005644/0.9484, allocations: 2.263 MB / 0.8987 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.9484, allocations: 3.344 kB / 0.8987 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002135/0.9506, allocations: 0.9859 MB / 0.8997 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.9506, allocations: 7.375 kB / 0.8997 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.9506, allocations: 3.375 kB / 0.8997 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.9506, allocations: 11.56 kB / 0.8997 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009305/0.9516, allocations: 192 kB / 0.8999 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.9516, allocations: 7.562 kB / 0.8999 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.9527, allocations: 64.66 kB / 0.9 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.606e-05/0.9528, allocations: 30.36 kB / 0.9 GB, free: 13.29 MB / 0.7012 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.0004611/0.9532, allocations: 310.9 kB / 0.9003 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.9534, allocations: 106.3 kB / 0.9004 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001813/0.9536, allocations: 105 kB / 0.9005 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.9536, allocations: 4.281 kB / 0.9005 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.9536, allocations: 0 / 0.9005 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001831/0.9554, allocations: 1.029 MB / 0.9015 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004146/0.9596, allocations: 2.139 MB / 0.9036 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.9596, allocations: 3.219 kB / 0.9036 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008402/0.9604, allocations: 165.2 kB / 0.9038 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.9605, allocations: 6.562 kB / 0.9038 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.114e-05/0.9605, allocations: 18 kB / 0.9038 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/0.9605, allocations: 10.58 kB / 0.9038 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.9605, allocations: 8.672 kB / 0.9038 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002775/0.9633, allocations: 1.429 MB / 0.9052 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004361/0.9638, allocations: 259.9 kB / 0.9055 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.9639, allocations: 10.28 kB / 0.9055 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009205/0.9648, allocations: 75.69 kB / 0.9055 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.697e-05/0.9649, allocations: 46.05 kB / 0.9056 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-05/0.965, allocations: 28.33 kB / 0.9056 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006064/0.9656, allocations: 0.6036 MB / 0.9062 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9656, allocations: 4 kB / 0.9062 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007969/0.9664, allocations: 270.4 kB / 0.9065 GB, free: 11.64 MB / 0.7012 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.003341/0.9698, allocations: 2.066 MB / 0.9085 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001843/0.9716, allocations: 0.8216 MB / 0.9093 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.9716, allocations: 0.75 kB / 0.9093 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008572/0.9725, allocations: 390.1 kB / 0.9097 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002424/0.9749, allocations: 0.5781 MB / 0.9102 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01301/0.988, allocations: 8.214 MB / 0.9182 GB, free: 8.09 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006194/0.9886, allocations: 1.108 MB / 0.9193 GB, free: 7.379 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001005/0.9896, allocations: 257.8 kB / 0.9196 GB, free: 7.32 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004899/0.9901, allocations: 359.1 kB / 0.9199 GB, free: 7.309 MB / 0.7012 GB Notification: Performance of SimCode: time 7.61e-07/0.9901, allocations: 0 / 0.9199 GB, free: 7.309 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05245/1.043, allocations: 28.75 MB / 0.948 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.852/9.895, allocations: 2.656 kB / 0.948 GB, free: 6.102 MB / 0.7169 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.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 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)