Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.007547/0.007547, allocations: 97.17 kB / 15.73 MB, free: 6.047 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.001345/0.001345, allocations: 196.2 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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 1.025/1.025, allocations: 143.3 MB / 433.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 63.91 kB / 0.5953 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3468, allocations: 82.03 MB / 0.6754 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2088/0.5557, allocations: 187.4 MB / 0.8584 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.3845/0.9402, allocations: 13.08 MB / 0.8712 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/0.9414, allocations: 34.22 kB / 0.8712 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.9426, allocations: 426.9 kB / 0.8716 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002646/0.9453, allocations: 1.159 MB / 0.8728 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001732/0.9471, allocations: 0.7032 MB / 0.8734 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002638/0.9497, allocations: 2.02 MB / 0.8754 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.9509, allocations: 0.8467 MB / 0.8762 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003893/0.9548, allocations: 1.819 MB / 0.878 GB, free: 1.754 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001714/0.9565, allocations: 0.6646 MB / 0.8787 GB, free: 1.754 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001867/0.9567, allocations: 80.88 kB / 0.8788 GB, free: 1.754 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002311/0.9591, allocations: 0.8667 MB / 0.8796 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005557/0.9596, allocations: 387 kB / 0.88 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007672/0.9604, allocations: 0.4978 MB / 0.8805 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002549/0.963, allocations: 1.56 MB / 0.882 GB, free: 1.652 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.963, allocations: 1.766 kB / 0.882 GB, free: 1.652 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.553e-06/0.963, allocations: 0 / 0.882 GB, free: 1.652 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.495e-05/0.963, allocations: 1.438 kB / 0.882 GB, free: 1.652 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002066/0.9651, allocations: 1.26 MB / 0.8832 GB, free: 16.93 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.9651, allocations: 10.25 kB / 0.8832 GB, free: 16.93 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001342/0.9653, allocations: 124 kB / 0.8833 GB, free: 16.89 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.9664, allocations: 227.8 kB / 0.8836 GB, free: 16.84 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.9675, allocations: 0.6887 MB / 0.8842 GB, free: 16.53 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.675e-05/0.9676, allocations: 58.12 kB / 0.8843 GB, free: 16.53 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.9677, allocations: 76.56 kB / 0.8844 GB, free: 16.53 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.969, allocations: 0.9287 MB / 0.8853 GB, free: 16.28 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.969, allocations: 10.34 kB / 0.8853 GB, free: 16.27 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.269e-05/0.9691, allocations: 38.48 kB / 0.8853 GB, free: 16.27 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.427e-05/0.9692, allocations: 30.78 kB / 0.8853 GB, free: 16.27 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009479/0.9701, allocations: 0.6188 MB / 0.8859 GB, free: 16.27 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.004261/0.9744, allocations: 4.589 MB / 0.8904 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007747/0.9752, allocations: 0.5487 MB / 0.891 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000321/0.9755, allocations: 246.1 kB / 0.8912 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/0.9757, allocations: 99.83 kB / 0.8913 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.9757, allocations: 46.88 kB / 0.8913 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=43): time 1.993e-06/0.9757, allocations: 0 / 0.8913 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of matching and sorting (n=45): time 0.002647/0.9784, allocations: 1.618 MB / 0.8929 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.75e-05/0.9785, allocations: 107 kB / 0.893 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007946/0.9793, allocations: 0.7206 MB / 0.8937 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.474e-05/0.9793, allocations: 36.14 kB / 0.8938 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.9796, allocations: 426.8 kB / 0.8942 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.9798, allocations: 164.3 kB / 0.8943 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.9799, allocations: 116.3 kB / 0.8944 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.9801, allocations: 331.3 kB / 0.8947 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.9803, allocations: 188.5 kB / 0.8949 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004289/0.9808, allocations: 420.7 kB / 0.8953 GB, free: 10.98 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002038/0.9828, allocations: 1.179 MB / 0.8965 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.9828, allocations: 1.203 kB / 0.8965 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008695/0.9837, allocations: 0.6816 MB / 0.8971 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.9837, allocations: 15 kB / 0.8972 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.507e-06/0.9838, allocations: 5.094 kB / 0.8972 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.9838, allocations: 14.62 kB / 0.8972 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004084/0.9842, allocations: 126.1 kB / 0.8973 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.9842, allocations: 11.59 kB / 0.8973 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005134/0.9847, allocations: 35.48 kB / 0.8973 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/0.9848, allocations: 28.08 kB / 0.8974 GB, free: 10.54 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: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0003056/0.9851, allocations: 275.6 kB / 0.8976 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.9853, allocations: 84.42 kB / 0.8977 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.9854, allocations: 94.69 kB / 0.8978 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.9854, allocations: 4.875 kB / 0.8978 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.9854, allocations: 3.781 kB / 0.8978 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006611/0.9861, allocations: 0.7017 MB / 0.8985 GB, free: 9.926 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.9882, allocations: 1.639 MB / 0.9001 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.9882, allocations: 4.25 kB / 0.9001 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004151/0.9886, allocations: 95.25 kB / 0.9002 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.9887, allocations: 14.06 kB / 0.9002 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.9887, allocations: 17.27 kB / 0.9002 GB, free: 9.332 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.9887, allocations: 9.312 kB / 0.9002 GB, free: 9.332 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.9887, allocations: 5.656 kB / 0.9002 GB, free: 9.332 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009595/0.9897, allocations: 0.8592 MB / 0.9011 GB, free: 9.023 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002626/0.99, allocations: 209.2 kB / 0.9013 GB, free: 8.887 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.9901, allocations: 20.72 kB / 0.9013 GB, free: 8.883 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004387/0.9905, allocations: 16.84 kB / 0.9013 GB, free: 8.883 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.11e-05/0.9906, allocations: 39.33 kB / 0.9013 GB, free: 8.879 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.323e-05/0.9906, allocations: 26.94 kB / 0.9014 GB, free: 8.875 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005163/0.9911, allocations: 0.5077 MB / 0.9019 GB, free: 8.781 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8.21e-07/0.9912, allocations: 0 / 0.9019 GB, free: 8.781 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0006519/0.9918, allocations: 207.5 kB / 0.9021 GB, free: 8.777 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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.001581/0.9934, allocations: 1.519 MB / 0.9036 GB, free: 7.914 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0006346/0.994, allocations: 481.3 kB / 0.904 GB, free: 7.906 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/0.9941, allocations: 0 / 0.904 GB, free: 7.906 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002405/0.9943, allocations: 215.8 kB / 0.9042 GB, free: 7.906 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/0.9963, allocations: 470.3 kB / 0.9047 GB, free: 7.844 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007365/1.004, allocations: 6.648 MB / 0.9112 GB, free: 5.289 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006034/1.004, allocations: 1.029 MB / 0.9122 GB, free: 4.578 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0005846/1.005, allocations: 202.3 kB / 0.9124 GB, free: 4.535 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003368/1.005, allocations: 295.9 kB / 0.9126 GB, free: 4.527 MB / 0.7012 GB Notification: Performance of SimCode: time 4.91e-07/1.005, allocations: 0 / 0.9126 GB, free: 4.527 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05824/1.064, allocations: 22.27 MB / 0.9344 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.036/10.1, allocations: 8.891 kB / 0.9344 GB, free: 15.41 MB / 0.7169 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)