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: translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005637/0.005638, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001373/0.001373, allocations: 194.8 kB / 16.79 MB, free: 6.254 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.365/1.365, allocations: 222.9 MB / 240.5 MB, free: 4.57 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.9734/0.9734, allocations: 143 MB / 433.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 67.89 kB / 0.5141 GB, free: 12.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1841, allocations: 82.04 MB / 0.5943 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5198/0.7039, allocations: 185.1 MB / 0.775 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01606/0.72, allocations: 13.14 MB / 0.7878 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001548/0.7216, allocations: 31.81 kB / 0.7879 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.7232, allocations: 353.9 kB / 0.7882 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003252/0.7265, allocations: 1.093 MB / 0.7893 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.7282, allocations: 0.6262 MB / 0.7899 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003151/0.7314, allocations: 2.769 MB / 0.7926 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001055/0.7324, allocations: 0.7309 MB / 0.7933 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004163/0.7366, allocations: 1.658 MB / 0.7949 GB, free: 216 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001829/0.7384, allocations: 0.6855 MB / 0.7956 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.7386, allocations: 44 kB / 0.7956 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002019/0.7406, allocations: 0.978 MB / 0.7966 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003843/0.741, allocations: 355 kB / 0.7969 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005804/0.7416, allocations: 469.6 kB / 0.7974 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.743, allocations: 1.154 MB / 0.7985 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.743, allocations: 3.984 kB / 0.7985 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.283e-06/0.743, allocations: 0 / 0.7985 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.533e-05/0.743, allocations: 4 kB / 0.7985 GB, free: 12.53 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.001885/0.7449, allocations: 1.234 MB / 0.7997 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.745, allocations: 8.031 kB / 0.7997 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/0.7462, allocations: 218.6 kB / 0.7999 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.7472, allocations: 0.6519 MB / 0.8006 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.455e-05/0.7473, allocations: 58 kB / 0.8006 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.7474, allocations: 76 kB / 0.8007 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.7488, allocations: 0.9249 MB / 0.8016 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.7488, allocations: 7.938 kB / 0.8016 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.567e-05/0.7489, allocations: 32 kB / 0.8016 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.901e-05/0.7489, allocations: 37.25 kB / 0.8017 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009491/0.7499, allocations: 0.6177 MB / 0.8023 GB, free: 8.5 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.004283/0.7542, allocations: 4.586 MB / 0.8068 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007799/0.7549, allocations: 0.5513 MB / 0.8073 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003354/0.7553, allocations: 250.9 kB / 0.8075 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001872/0.7555, allocations: 97.09 kB / 0.8076 GB, free: 2.664 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.7555, allocations: 38.56 kB / 0.8077 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 2.225e-06/0.7555, allocations: 0 / 0.8077 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.002767/0.7583, allocations: 1.592 MB / 0.8092 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/0.7584, allocations: 114.8 kB / 0.8093 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007953/0.7592, allocations: 0.7116 MB / 0.81 GB, free: 116 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.7592, allocations: 37.7 kB / 0.8101 GB, free: 72 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/0.7596, allocations: 420 kB / 0.8105 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.7597, allocations: 161.7 kB / 0.8106 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.7599, allocations: 118.2 kB / 0.8107 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.76, allocations: 330 kB / 0.811 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002883/0.7603, allocations: 189.1 kB / 0.8112 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004463/0.7607, allocations: 421 kB / 0.8116 GB, free: 14.35 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.002246/0.763, allocations: 1.181 MB / 0.8128 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.763, allocations: 4 kB / 0.8128 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001008/0.764, allocations: 0.6641 MB / 0.8134 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.764, allocations: 7.938 kB / 0.8134 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.7641, allocations: 8 kB / 0.8134 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.7641, allocations: 8 kB / 0.8135 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004421/0.7645, allocations: 127.8 kB / 0.8136 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.378e-05/0.7646, allocations: 11.98 kB / 0.8136 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006568/0.7652, allocations: 60.25 kB / 0.8136 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.113e-05/0.7653, allocations: 31.94 kB / 0.8137 GB, free: 12.14 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.0004149/0.7657, allocations: 278.2 kB / 0.8139 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.7659, allocations: 83 kB / 0.814 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.766, allocations: 91.66 kB / 0.8141 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.7661, allocations: 4 kB / 0.8141 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.7661, allocations: 4 kB / 0.8141 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007073/0.7668, allocations: 0.6998 MB / 0.8148 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/0.7691, allocations: 1.634 MB / 0.8164 GB, free: 9.156 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/0.7691, allocations: 4 kB / 0.8164 GB, free: 9.152 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004495/0.7696, allocations: 99.83 kB / 0.8165 GB, free: 9.055 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/0.7696, allocations: 11.94 kB / 0.8165 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-05/0.7697, allocations: 16 kB / 0.8165 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.7697, allocations: 7.984 kB / 0.8165 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.7697, allocations: 8.406 kB / 0.8165 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.7708, allocations: 0.8655 MB / 0.8174 GB, free: 8.082 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002912/0.7711, allocations: 212.1 kB / 0.8176 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.7712, allocations: 16.12 kB / 0.8176 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004854/0.7717, allocations: 39.88 kB / 0.8176 GB, free: 7.801 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/0.7718, allocations: 39.84 kB / 0.8177 GB, free: 7.762 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.7718, allocations: 23.98 kB / 0.8177 GB, free: 7.738 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006064/0.7724, allocations: 0.5029 MB / 0.8182 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7724, allocations: 3.938 kB / 0.8182 GB, free: 7.234 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007459/0.7732, allocations: 212 kB / 0.8184 GB, free: 7.027 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.0004946/0.7737, allocations: 206.5 kB / 0.8186 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0007497/0.7744, allocations: 473.7 kB / 0.819 GB, free: 6.379 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.7744, allocations: 0 / 0.819 GB, free: 6.379 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002818/0.7747, allocations: 208.9 kB / 0.8192 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/0.7767, allocations: 456.8 kB / 0.8197 GB, free: 5.746 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/0.7795, allocations: 2.007 MB / 0.8216 GB, free: 3.656 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005836/0.7801, allocations: 1.024 MB / 0.8226 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.7803, allocations: 71.44 kB / 0.8227 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of SimCode: time 5.01e-07/0.7803, allocations: 0 / 0.8227 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of Templates: time 0.02123/0.8016, allocations: 12.94 MB / 0.8353 GB, free: 5.758 MB / 0.6544 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)