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/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.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.001133/0.001133, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001139, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.348/1.348, allocations: 222.9 MB / 240.2 MB, free: 4.402 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 1.028/1.028, allocations: 143 MB / 433.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002145, allocations: 75.89 kB / 0.5143 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1569, allocations: 82.04 MB / 0.5944 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.4492/0.6061, allocations: 187.4 MB / 0.7774 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01552/0.6217, allocations: 13.1 MB / 0.7901 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/0.6228, allocations: 31.81 kB / 0.7902 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.6243, allocations: 425.2 kB / 0.7906 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002951/0.6273, allocations: 1.163 MB / 0.7917 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.6292, allocations: 0.7002 MB / 0.7924 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002438/0.6316, allocations: 2.016 MB / 0.7944 GB, free: 368 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/0.6329, allocations: 0.8404 MB / 0.7952 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003654/0.6366, allocations: 1.81 MB / 0.797 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001508/0.6381, allocations: 0.6668 MB / 0.7976 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001933/0.6383, allocations: 80 kB / 0.7977 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001789/0.6401, allocations: 0.8653 MB / 0.7985 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004364/0.6405, allocations: 383 kB / 0.7989 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00081/0.6414, allocations: 0.4976 MB / 0.7994 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002401/0.6438, allocations: 1.527 MB / 0.8009 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6438, allocations: 0 / 0.8009 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6438, allocations: 0 / 0.8009 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.35e-05/0.6438, allocations: 0 / 0.8009 GB, free: 9.672 MB / 0.6231 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.002124/0.646, allocations: 1.238 MB / 0.8021 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.646, allocations: 8.625 kB / 0.8021 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001667/0.6462, allocations: 122.5 kB / 0.8022 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.6475, allocations: 222.6 kB / 0.8024 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.6485, allocations: 0.648 MB / 0.803 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/0.6486, allocations: 58 kB / 0.8031 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.6487, allocations: 76 kB / 0.8032 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.65, allocations: 0.9288 MB / 0.8041 GB, free: 6.195 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.65, allocations: 7.938 kB / 0.8041 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.607e-05/0.6501, allocations: 35.94 kB / 0.8041 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.6501, allocations: 29.31 kB / 0.8042 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009435/0.6511, allocations: 0.6177 MB / 0.8048 GB, free: 5.508 MB / 0.6231 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.003987/0.6551, allocations: 4.605 MB / 0.8093 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007683/0.6559, allocations: 0.544 MB / 0.8098 GB, free: 24 kB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003561/0.6562, allocations: 250.2 kB / 0.81 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001855/0.6564, allocations: 97.09 kB / 0.8101 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.6565, allocations: 46.56 kB / 0.8102 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 2.194e-06/0.6565, allocations: 0 / 0.8102 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.002626/0.6591, allocations: 1.582 MB / 0.8117 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.6592, allocations: 119 kB / 0.8118 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007937/0.66, allocations: 0.7116 MB / 0.8125 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/0.66, allocations: 37.7 kB / 0.8125 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/0.6603, allocations: 423.6 kB / 0.813 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.6605, allocations: 161.7 kB / 0.8131 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/0.6606, allocations: 122.2 kB / 0.8132 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.6608, allocations: 326 kB / 0.8135 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/0.6611, allocations: 193.2 kB / 0.8137 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004413/0.6615, allocations: 417 kB / 0.8141 GB, free: 11.34 MB / 0.6387 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.002284/0.6638, allocations: 1.177 MB / 0.8153 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.6638, allocations: 7.125 kB / 0.8153 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009876/0.6648, allocations: 0.6642 MB / 0.8159 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.6649, allocations: 20.05 kB / 0.8159 GB, free: 9.371 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.6649, allocations: 4 kB / 0.8159 GB, free: 9.367 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.6649, allocations: 12 kB / 0.816 GB, free: 9.355 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004519/0.6654, allocations: 123.8 kB / 0.8161 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.811e-05/0.6654, allocations: 12.62 kB / 0.8161 GB, free: 9.223 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005443/0.6659, allocations: 32.78 kB / 0.8161 GB, free: 9.191 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.773e-05/0.666, allocations: 24 kB / 0.8161 GB, free: 9.168 MB / 0.6387 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.0003287/0.6663, allocations: 269.7 kB / 0.8164 GB, free: 8.895 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.6665, allocations: 90.98 kB / 0.8165 GB, free: 8.805 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.6667, allocations: 95.66 kB / 0.8166 GB, free: 8.703 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.6667, allocations: 4 kB / 0.8166 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.6667, allocations: 0 / 0.8166 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006772/0.6674, allocations: 0.6998 MB / 0.8173 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002254/0.6696, allocations: 1.643 MB / 0.8189 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.6697, allocations: 4 kB / 0.8189 GB, free: 6.164 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004602/0.6701, allocations: 103.8 kB / 0.819 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.6701, allocations: 7.938 kB / 0.819 GB, free: 6.055 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/0.6702, allocations: 16 kB / 0.819 GB, free: 6.039 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/0.6702, allocations: 10.19 kB / 0.819 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.6702, allocations: 7.938 kB / 0.819 GB, free: 6.023 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.6713, allocations: 0.8658 MB / 0.8199 GB, free: 5.094 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002686/0.6716, allocations: 212 kB / 0.8201 GB, free: 4.867 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.6717, allocations: 17.3 kB / 0.8201 GB, free: 4.852 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004695/0.6722, allocations: 16 kB / 0.8201 GB, free: 4.836 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.609e-05/0.6723, allocations: 39.83 kB / 0.8201 GB, free: 4.797 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-05/0.6723, allocations: 23.94 kB / 0.8202 GB, free: 4.773 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006365/0.6729, allocations: 0.5146 MB / 0.8207 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6729, allocations: 3.938 kB / 0.8207 GB, free: 4.262 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006901/0.6736, allocations: 204 kB / 0.8209 GB, free: 4.062 MB / 0.6387 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.001563/0.6752, allocations: 1.497 MB / 0.8223 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008149/0.676, allocations: 0.5042 MB / 0.8228 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.6761, allocations: 1.562 kB / 0.8228 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002992/0.6764, allocations: 216.5 kB / 0.823 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002105/0.6785, allocations: 489.7 kB / 0.8235 GB, free: 1.367 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008113/0.6866, allocations: 6.931 MB / 0.8302 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005695/0.6872, allocations: 1.032 MB / 0.8313 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006543/0.6878, allocations: 195.6 kB / 0.8314 GB, free: 8.781 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003723/0.6882, allocations: 295.3 kB / 0.8317 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.6882, allocations: 0 / 0.8317 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04624/0.7345, allocations: 22.06 MB / 0.8533 GB, free: 2.852 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.584/8.319, allocations: 10.81 kB / 0.8533 GB, free: 2.848 MB / 0.67 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)