Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="BuildSysPro_BuildSysPro_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.005818/0.005818, allocations: 99.58 kB / 15.73 MB, free: 6.016 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.001277/0.001277, allocations: 193.2 kB / 16.67 MB, free: 5.934 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9074/0.9074, allocations: 143.3 MB / 433.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 68.75 kB / 0.5953 GB, free: 12.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1497, allocations: 82.03 MB / 0.6754 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5231/0.6728, allocations: 190.6 MB / 0.8615 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.009505/0.6824, allocations: 5.726 MB / 0.8671 GB, free: 9.422 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.6838, allocations: 39.75 kB / 0.8672 GB, free: 9.383 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001689/0.6855, allocations: 0.5708 MB / 0.8677 GB, free: 8.809 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004796/0.6904, allocations: 1.832 MB / 0.8695 GB, free: 6.969 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003044/0.6934, allocations: 1.184 MB / 0.8707 GB, free: 5.793 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003866/0.6973, allocations: 2.955 MB / 0.8736 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001534/0.6989, allocations: 1.117 MB / 0.8746 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001851/0.7007, allocations: 1.058 MB / 0.8757 GB, free: 0.6289 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002177/0.7029, allocations: 0.9648 MB / 0.8766 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002542/0.7032, allocations: 124 kB / 0.8767 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003081/0.7063, allocations: 1.446 MB / 0.8781 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006834/0.707, allocations: 0.5728 MB / 0.8787 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0009749/0.708, allocations: 0.7234 MB / 0.8794 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003716/0.7117, allocations: 2.425 MB / 0.8818 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.7117, allocations: 4 kB / 0.8818 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7117, allocations: 3.938 kB / 0.8818 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.035e-05/0.7118, allocations: 0 / 0.8818 GB, free: 10.36 MB / 0.6544 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.002736/0.7145, allocations: 1.653 MB / 0.8834 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.7145, allocations: 12.03 kB / 0.8834 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001977/0.7147, allocations: 156.2 kB / 0.8836 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00207/0.7168, allocations: 342.8 kB / 0.8839 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.7183, allocations: 0.9066 MB / 0.8848 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.74e-05/0.7184, allocations: 83.06 kB / 0.8849 GB, free: 7.113 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.7186, allocations: 99.95 kB / 0.885 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/0.7205, allocations: 1.093 MB / 0.886 GB, free: 5.918 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.7206, allocations: 0 / 0.886 GB, free: 5.918 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.7207, allocations: 40 kB / 0.8861 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.048e-05/0.7207, allocations: 41.94 kB / 0.8861 GB, free: 5.836 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/0.7225, allocations: 0.9915 MB / 0.8871 GB, free: 4.844 MB / 0.6544 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.006204/0.7287, allocations: 4.23 MB / 0.8912 GB, free: 324 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009775/0.7297, allocations: 0.5909 MB / 0.8918 GB, free: 15.72 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005552/0.7303, allocations: 351.3 kB / 0.8921 GB, free: 15.38 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001972/0.7305, allocations: 101.5 kB / 0.8922 GB, free: 15.26 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.7305, allocations: 42.94 kB / 0.8922 GB, free: 15.21 MB / 0.67 GB Notification: Performance of pre-optimization done (n=53): time 1.843e-06/0.7306, allocations: 0 / 0.8922 GB, free: 15.21 MB / 0.67 GB Notification: Performance of matching and sorting (n=55): time 0.004242/0.7348, allocations: 2.226 MB / 0.8944 GB, free: 12.86 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.7349, allocations: 59.91 kB / 0.8945 GB, free: 12.79 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.7361, allocations: 0.8804 MB / 0.8953 GB, free: 11.9 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.137e-05/0.7361, allocations: 37.7 kB / 0.8954 GB, free: 11.86 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004519/0.7366, allocations: 0.5274 MB / 0.8959 GB, free: 11.32 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.7368, allocations: 202.2 kB / 0.8961 GB, free: 11.12 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.737, allocations: 138.6 kB / 0.8962 GB, free: 10.98 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.7372, allocations: 333.9 kB / 0.8965 GB, free: 10.65 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005328/0.7377, allocations: 285.8 kB / 0.8968 GB, free: 10.37 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000665/0.7384, allocations: 444.8 kB / 0.8972 GB, free: 9.887 MB / 0.67 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.00419/0.7426, allocations: 1.746 MB / 0.8989 GB, free: 8.074 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.7426, allocations: 0 / 0.8989 GB, free: 8.074 MB / 0.67 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001662/0.7443, allocations: 0.9262 MB / 0.8998 GB, free: 7.133 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.7443, allocations: 8 kB / 0.8998 GB, free: 7.125 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.7443, allocations: 4 kB / 0.8998 GB, free: 7.121 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002267/0.7446, allocations: 103 kB / 0.8999 GB, free: 7.012 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007358/0.7453, allocations: 159.8 kB / 0.9001 GB, free: 6.855 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004103/0.7494, allocations: 4.632 MB / 0.9046 GB, free: 1.805 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008911/0.7504, allocations: 31.94 kB / 0.9047 GB, free: 1.773 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.4e-05/0.7504, allocations: 27.98 kB / 0.9047 GB, free: 1.746 MB / 0.67 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.0005776/0.751, allocations: 352.7 kB / 0.905 GB, free: 1.395 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/0.7512, allocations: 107.5 kB / 0.9051 GB, free: 1.289 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/0.7514, allocations: 109.2 kB / 0.9052 GB, free: 1.18 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.7514, allocations: 4 kB / 0.9052 GB, free: 1.176 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.7514, allocations: 0 / 0.9052 GB, free: 1.176 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001185/0.7526, allocations: 0.7614 MB / 0.906 GB, free: 368 kB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00329/0.7559, allocations: 2 MB / 0.9079 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.756, allocations: 0 / 0.9079 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007014/0.7567, allocations: 151.8 kB / 0.9081 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001028/0.7568, allocations: 41.25 kB / 0.9081 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.476e-05/0.7568, allocations: 19.98 kB / 0.9081 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00143/0.7583, allocations: 1.61 MB / 0.9097 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.7583, allocations: 0 / 0.9097 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/0.7602, allocations: 1.212 MB / 0.9109 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004215/0.7606, allocations: 256.3 kB / 0.9111 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.7608, allocations: 23.92 kB / 0.9111 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006982/0.7615, allocations: 33.61 kB / 0.9112 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.7616, allocations: 47.88 kB / 0.9112 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-05/0.7617, allocations: 35.98 kB / 0.9113 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008518/0.7625, allocations: 0.6161 MB / 0.9119 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7626, allocations: 0 / 0.9119 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009184/0.7635, allocations: 300 kB / 0.9121 GB, free: 9.715 MB / 0.6856 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.002561/0.766, allocations: 1.841 MB / 0.9139 GB, free: 7.809 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001697/0.7678, allocations: 1.018 MB / 0.9149 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.7678, allocations: 0 / 0.9149 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006813/0.7685, allocations: 444.1 kB / 0.9154 GB, free: 6.309 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002874/0.7713, allocations: 0.6655 MB / 0.916 GB, free: 5.656 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/0.7832, allocations: 7.956 MB / 0.9238 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008948/0.7841, allocations: 1.17 MB / 0.9249 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008994/0.785, allocations: 252.3 kB / 0.9252 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005514/0.7856, allocations: 391.2 kB / 0.9255 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of SimCode: time 5.91e-07/0.7856, allocations: 0 / 0.9255 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07132/0.8569, allocations: 30.52 MB / 0.9553 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.88, allocations: 3.25 kB / 0.9553 GB, free: 13.62 MB / 0.7325 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.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 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)