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.009011/0.009011, allocations: 108.6 kB / 15.74 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.001666/0.001666, allocations: 193.5 kB / 16.67 MB, free: 5.941 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.373/1.373, 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.8485/0.8485, allocations: 143 MB / 433.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.56 kB / 0.5955 GB, free: 12.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1826, allocations: 82.04 MB / 0.6757 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6429/0.8255, allocations: 187.4 MB / 0.8586 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01565/0.8412, allocations: 13.09 MB / 0.8714 GB, free: 5.27 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.8426, allocations: 39.81 kB / 0.8715 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.8439, allocations: 425.1 kB / 0.8719 GB, free: 4.812 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00289/0.8468, allocations: 1.162 MB / 0.873 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001842/0.8487, allocations: 0.7076 MB / 0.8737 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002478/0.8512, allocations: 2.012 MB / 0.8757 GB, free: 0.9297 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.8522, allocations: 0.8377 MB / 0.8765 GB, free: 72 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003858/0.8561, allocations: 1.837 MB / 0.8783 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001436/0.8576, allocations: 0.6634 MB / 0.8789 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.8577, allocations: 83.94 kB / 0.879 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001789/0.8595, allocations: 0.8692 MB / 0.8798 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003937/0.8599, allocations: 387 kB / 0.8802 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005466/0.8605, allocations: 0.5015 MB / 0.8807 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002089/0.8625, allocations: 1.55 MB / 0.8822 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.8626, allocations: 0 / 0.8822 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8626, allocations: 0 / 0.8822 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.8626, allocations: 0 / 0.8822 GB, free: 10.18 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001879/0.8645, allocations: 1.235 MB / 0.8834 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.8645, allocations: 12.03 kB / 0.8834 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.8657, allocations: 218.6 kB / 0.8836 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.8668, allocations: 0.6754 MB / 0.8843 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.909e-05/0.8668, allocations: 58 kB / 0.8844 GB, free: 7.891 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.8669, allocations: 79.91 kB / 0.8844 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.8683, allocations: 0.9326 MB / 0.8854 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.8683, allocations: 11.88 kB / 0.8854 GB, free: 6.781 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.694e-05/0.8684, allocations: 32 kB / 0.8854 GB, free: 6.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.899e-05/0.8684, allocations: 37.23 kB / 0.8854 GB, free: 6.715 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009343/0.8694, allocations: 0.6178 MB / 0.886 GB, free: 6.098 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.004698/0.8741, allocations: 4.57 MB / 0.8905 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008744/0.875, allocations: 0.5487 MB / 0.891 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004118/0.8754, allocations: 243.3 kB / 0.8913 GB, free: 404 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002265/0.8756, allocations: 97.09 kB / 0.8914 GB, free: 288 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.8757, allocations: 42.56 kB / 0.8914 GB, free: 236 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=43): time 2.064e-06/0.8757, allocations: 0 / 0.8914 GB, free: 236 kB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.002937/0.8786, allocations: 1.589 MB / 0.8929 GB, free: 14.58 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/0.8787, allocations: 110.8 kB / 0.8931 GB, free: 14.45 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008169/0.8795, allocations: 0.7155 MB / 0.8938 GB, free: 13.73 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.296e-05/0.8796, allocations: 37.7 kB / 0.8938 GB, free: 13.68 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003109/0.8799, allocations: 416 kB / 0.8942 GB, free: 13.27 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.88, allocations: 161.7 kB / 0.8943 GB, free: 13.11 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.8802, allocations: 122.2 kB / 0.8945 GB, free: 12.98 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.8804, allocations: 330 kB / 0.8948 GB, free: 12.66 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002724/0.8806, allocations: 185.2 kB / 0.8949 GB, free: 12.48 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004579/0.8811, allocations: 425.8 kB / 0.8954 GB, free: 11.96 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002157/0.8833, allocations: 1.179 MB / 0.8965 GB, free: 10.68 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.8833, allocations: 0 / 0.8965 GB, free: 10.68 MB / 0.67 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009284/0.8842, allocations: 0.6716 MB / 0.8972 GB, free: 10 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.8842, allocations: 11.94 kB / 0.8972 GB, free: 9.992 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.8843, allocations: 11.94 kB / 0.8972 GB, free: 9.98 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.8843, allocations: 11.94 kB / 0.8972 GB, free: 9.969 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004391/0.8847, allocations: 128.6 kB / 0.8973 GB, free: 9.844 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-05/0.8848, allocations: 11.98 kB / 0.8973 GB, free: 9.832 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004901/0.8853, allocations: 36.36 kB / 0.8974 GB, free: 9.797 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.688e-05/0.8853, allocations: 31.94 kB / 0.8974 GB, free: 9.766 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: 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.0003454/0.8857, allocations: 273 kB / 0.8977 GB, free: 9.492 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.8858, allocations: 83 kB / 0.8977 GB, free: 9.41 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.886, allocations: 91.66 kB / 0.8978 GB, free: 9.316 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.886, allocations: 4 kB / 0.8978 GB, free: 9.312 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.886, allocations: 5.219 kB / 0.8978 GB, free: 9.309 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007072/0.8867, allocations: 0.6998 MB / 0.8985 GB, free: 8.523 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002298/0.889, allocations: 1.639 MB / 0.9001 GB, free: 6.777 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.8891, allocations: 4 kB / 0.9001 GB, free: 6.773 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000432/0.8895, allocations: 100.3 kB / 0.9002 GB, free: 6.676 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/0.8895, allocations: 11.94 kB / 0.9002 GB, free: 6.664 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/0.8896, allocations: 20 kB / 0.9002 GB, free: 6.645 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.8896, allocations: 8.047 kB / 0.9002 GB, free: 6.637 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/0.8896, allocations: 11.94 kB / 0.9003 GB, free: 6.625 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.8906, allocations: 0.8646 MB / 0.9011 GB, free: 5.695 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002579/0.8909, allocations: 208.2 kB / 0.9013 GB, free: 5.473 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.891, allocations: 15.94 kB / 0.9013 GB, free: 5.457 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004093/0.8914, allocations: 17.02 kB / 0.9013 GB, free: 5.441 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-05/0.8915, allocations: 43.83 kB / 0.9014 GB, free: 5.398 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.788e-05/0.8915, allocations: 16 kB / 0.9014 GB, free: 5.383 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005788/0.8921, allocations: 0.5146 MB / 0.9019 GB, free: 4.871 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8921, allocations: 0 / 0.9019 GB, free: 4.871 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0006584/0.8928, allocations: 196 kB / 0.9021 GB, free: 4.68 MB / 0.67 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.0004595/0.8932, allocations: 204.7 kB / 0.9023 GB, free: 4.488 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0007201/0.894, allocations: 476.8 kB / 0.9027 GB, free: 4.023 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.894, allocations: 448 / 0.9027 GB, free: 4.023 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002747/0.8943, allocations: 219.5 kB / 0.9029 GB, free: 3.809 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/0.8961, allocations: 476.2 kB / 0.9034 GB, free: 3.359 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/0.8984, allocations: 1.663 MB / 0.905 GB, free: 1.617 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005939/0.899, allocations: 1.028 MB / 0.906 GB, free: 0.5625 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005339/0.8996, allocations: 203 kB / 0.9062 GB, free: 368 kB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.8997, allocations: 59.44 kB / 0.9063 GB, free: 308 kB / 0.67 GB Notification: Performance of SimCode: time 2.21e-07/0.8997, allocations: 0 / 0.9063 GB, free: 308 kB / 0.67 GB Notification: Performance of Templates: time 0.0252/0.925, allocations: 15.44 MB / 0.9214 GB, free: 1.105 MB / 0.6856 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)