Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.004264/0.004264, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.002192/0.002191, allocations: 191.9 kB / 16.67 MB, free: 5.969 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.8321/0.8321, allocations: 143.1 MB / 433.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 64.47 kB / 0.5951 GB, free: 12.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1308, allocations: 82.03 MB / 0.6752 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.4681/0.599, allocations: 190.4 MB / 0.8611 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008247/0.6072, allocations: 5.7 MB / 0.8667 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007446/0.608, allocations: 39.75 kB / 0.8667 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001274/0.6093, allocations: 0.5904 MB / 0.8673 GB, free: 9.281 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003133/0.6125, allocations: 1.669 MB / 0.8689 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002631/0.6151, allocations: 1.223 MB / 0.8701 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002306/0.6174, allocations: 2.513 MB / 0.8726 GB, free: 3.879 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.6185, allocations: 0.9895 MB / 0.8736 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001348/0.6198, allocations: 1.07 MB / 0.8746 GB, free: 1.797 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001221/0.6211, allocations: 0.8127 MB / 0.8754 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.6212, allocations: 104 kB / 0.8755 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002212/0.6234, allocations: 1.536 MB / 0.877 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004144/0.6239, allocations: 494.7 kB / 0.8775 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005584/0.6244, allocations: 0.6222 MB / 0.8781 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002299/0.6267, allocations: 2.184 MB / 0.8802 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.6267, allocations: 0 / 0.8802 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6267, allocations: 0 / 0.8802 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.244e-05/0.6268, allocations: 0 / 0.8802 GB, free: 12.05 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002048/0.6288, allocations: 1.513 MB / 0.8817 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.6289, allocations: 8.031 kB / 0.8817 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001563/0.629, allocations: 139.2 kB / 0.8818 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001926/0.631, allocations: 339.9 kB / 0.8822 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.6322, allocations: 0.8085 MB / 0.8829 GB, free: 9.145 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.169e-05/0.6323, allocations: 66 kB / 0.883 GB, free: 9.078 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.6324, allocations: 87.95 kB / 0.8831 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.634, allocations: 1.078 MB / 0.8841 GB, free: 7.875 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.6341, allocations: 0 / 0.8841 GB, free: 7.875 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.693e-05/0.6341, allocations: 40 kB / 0.8842 GB, free: 7.836 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.176e-05/0.6342, allocations: 33.98 kB / 0.8842 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.6357, allocations: 0.8275 MB / 0.885 GB, free: 6.977 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.00531/0.641, allocations: 4.271 MB / 0.8892 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005399/0.6415, allocations: 373.1 kB / 0.8895 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002746/0.6418, allocations: 213.6 kB / 0.8898 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001574/0.642, allocations: 105.1 kB / 0.8899 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.642, allocations: 46.5 kB / 0.8899 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=36): time 1.633e-06/0.642, allocations: 0 / 0.8899 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of matching and sorting (n=38): time 0.002369/0.6444, allocations: 1.346 MB / 0.8912 GB, free: 280 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.6444, allocations: 59.34 kB / 0.8913 GB, free: 208 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.6457, allocations: 0.9967 MB / 0.8922 GB, free: 15.18 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.6457, allocations: 37.7 kB / 0.8923 GB, free: 15.14 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003412/0.6461, allocations: 0.4924 MB / 0.8928 GB, free: 14.64 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.6462, allocations: 154.7 kB / 0.8929 GB, free: 14.49 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002255/0.6464, allocations: 126.2 kB / 0.893 GB, free: 14.36 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.6465, allocations: 334 kB / 0.8933 GB, free: 14.03 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004443/0.647, allocations: 237.2 kB / 0.8936 GB, free: 13.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005755/0.6476, allocations: 428.4 kB / 0.894 GB, free: 13.3 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.002318/0.6499, allocations: 1.212 MB / 0.8952 GB, free: 12 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6499, allocations: 0 / 0.8952 GB, free: 12 MB / 0.67 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001282/0.6512, allocations: 0.7775 MB / 0.8959 GB, free: 11.21 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.6512, allocations: 8 kB / 0.8959 GB, free: 11.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.6512, allocations: 4 kB / 0.8959 GB, free: 11.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.6513, allocations: 11.94 kB / 0.8959 GB, free: 11.19 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005531/0.6518, allocations: 148.1 kB / 0.8961 GB, free: 11.04 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.6518, allocations: 11.94 kB / 0.8961 GB, free: 11.03 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008198/0.6527, allocations: 51.95 kB / 0.8961 GB, free: 10.98 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.053e-05/0.6527, allocations: 35.98 kB / 0.8962 GB, free: 10.95 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: 25 * 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 (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.0003501/0.6531, allocations: 310.4 kB / 0.8965 GB, free: 10.63 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.6532, allocations: 107.3 kB / 0.8966 GB, free: 10.53 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.6534, allocations: 105 kB / 0.8967 GB, free: 10.43 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.6534, allocations: 4 kB / 0.8967 GB, free: 10.42 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6534, allocations: 0 / 0.8967 GB, free: 10.42 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006142/0.654, allocations: 0.6839 MB / 0.8974 GB, free: 9.652 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002227/0.6563, allocations: 1.573 MB / 0.8989 GB, free: 7.973 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.6563, allocations: 4 kB / 0.8989 GB, free: 7.969 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003907/0.6567, allocations: 87.84 kB / 0.899 GB, free: 7.883 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.6567, allocations: 4.5 kB / 0.899 GB, free: 7.879 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/0.6567, allocations: 15.98 kB / 0.899 GB, free: 7.863 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.6568, allocations: 15.94 kB / 0.899 GB, free: 7.848 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.6568, allocations: 9.5 kB / 0.899 GB, free: 7.84 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009589/0.6577, allocations: 0.8296 MB / 0.8998 GB, free: 6.945 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003651/0.6581, allocations: 240.4 kB / 0.9001 GB, free: 6.691 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/0.6582, allocations: 23.92 kB / 0.9001 GB, free: 6.668 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006757/0.6589, allocations: 34.2 kB / 0.9001 GB, free: 6.637 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/0.659, allocations: 39.84 kB / 0.9002 GB, free: 6.598 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.903e-05/0.6591, allocations: 23.98 kB / 0.9002 GB, free: 6.574 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009179/0.66, allocations: 0.7116 MB / 0.9009 GB, free: 5.852 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.71e-07/0.66, allocations: 8 kB / 0.9009 GB, free: 5.844 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007589/0.6608, allocations: 251.9 kB / 0.9011 GB, free: 5.598 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * 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.001464/0.6622, allocations: 1.491 MB / 0.9026 GB, free: 4.039 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0008521/0.6631, allocations: 0.4963 MB / 0.9031 GB, free: 3.543 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.6631, allocations: 4 kB / 0.9031 GB, free: 3.539 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002448/0.6634, allocations: 185.5 kB / 0.9032 GB, free: 3.359 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002534/0.6659, allocations: 0.6224 MB / 0.9038 GB, free: 2.746 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009263/0.6752, allocations: 7.638 MB / 0.9113 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006029/0.6758, allocations: 1.099 MB / 0.9124 GB, free: 9.602 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006936/0.6765, allocations: 248.3 kB / 0.9126 GB, free: 9.355 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004292/0.6769, allocations: 343.3 kB / 0.9129 GB, free: 9.02 MB / 0.6856 GB Notification: Performance of SimCode: time 4.51e-07/0.6769, allocations: 4 kB / 0.9129 GB, free: 9.016 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05008/0.727, allocations: 27.83 MB / 0.9401 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.805/9.532, allocations: 3.953 kB / 0.9401 GB, free: 13.62 MB / 0.7169 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_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_MixingVolumeTraceSubstance.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)