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.00154/0.00154, allocations: 105.2 kB / 16.41 MB, free: 6.523 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.001496/0.001496, allocations: 187 kB / 17.34 MB, free: 5.73 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.14 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.8648/0.8648, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 67.3 kB / 0.5963 GB, free: 12.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1474, allocations: 82.04 MB / 0.6764 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5273/0.6747, allocations: 187.9 MB / 0.8599 GB, free: 1.871 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0166/0.6913, allocations: 13.11 MB / 0.8727 GB, free: 4.719 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.6926, allocations: 35.81 kB / 0.8727 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001406/0.694, allocations: 433.1 kB / 0.8731 GB, free: 4.258 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003313/0.6973, allocations: 1.209 MB / 0.8743 GB, free: 3.043 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001908/0.6992, allocations: 0.7103 MB / 0.875 GB, free: 2.34 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00284/0.7021, allocations: 2.012 MB / 0.8769 GB, free: 332 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001055/0.7031, allocations: 0.6989 MB / 0.8776 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004038/0.7072, allocations: 1.876 MB / 0.8795 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001623/0.7088, allocations: 0.6642 MB / 0.8801 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001395/0.7089, allocations: 80 kB / 0.8802 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/0.7107, allocations: 0.8809 MB / 0.881 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004035/0.7111, allocations: 386.9 kB / 0.8814 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000592/0.7117, allocations: 0.4976 MB / 0.8819 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002309/0.714, allocations: 1.569 MB / 0.8834 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.714, allocations: 0 / 0.8834 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of FrontEnd: time 9.42e-07/0.714, allocations: 0 / 0.8834 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.659e-05/0.714, allocations: 0 / 0.8834 GB, free: 9.641 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.001935/0.7159, allocations: 1.265 MB / 0.8847 GB, free: 8.324 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.716, allocations: 8.031 kB / 0.8847 GB, free: 8.316 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/0.7172, allocations: 223.1 kB / 0.8849 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.7183, allocations: 0.6915 MB / 0.8856 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.855e-05/0.7184, allocations: 58 kB / 0.8856 GB, free: 7.309 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.7185, allocations: 79.94 kB / 0.8857 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.7199, allocations: 0.9365 MB / 0.8866 GB, free: 6.207 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.543e-05/0.7199, allocations: 7.938 kB / 0.8866 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.076e-05/0.72, allocations: 28 kB / 0.8866 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.704e-05/0.72, allocations: 33.23 kB / 0.8867 GB, free: 6.141 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009803/0.721, allocations: 0.6176 MB / 0.8873 GB, free: 5.527 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.00461/0.7256, allocations: 4.59 MB / 0.8918 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008171/0.7264, allocations: 0.5321 MB / 0.8923 GB, free: 72 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003743/0.7268, allocations: 236.4 kB / 0.8925 GB, free: 15.83 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001848/0.727, allocations: 105.1 kB / 0.8926 GB, free: 15.71 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.727, allocations: 42.55 kB / 0.8926 GB, free: 15.66 MB / 0.67 GB Notification: Performance of pre-optimization done (n=43): time 2.295e-06/0.727, allocations: 0 / 0.8926 GB, free: 15.66 MB / 0.67 GB Notification: Performance of matching and sorting (n=45): time 0.002838/0.7299, allocations: 1.612 MB / 0.8942 GB, free: 13.99 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.24e-05/0.73, allocations: 115.1 kB / 0.8943 GB, free: 13.86 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009256/0.7309, allocations: 0.7116 MB / 0.895 GB, free: 13.14 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.796e-05/0.7309, allocations: 37.7 kB / 0.8951 GB, free: 13.09 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003557/0.7313, allocations: 420.6 kB / 0.8955 GB, free: 12.68 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.7315, allocations: 166.6 kB / 0.8956 GB, free: 12.51 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001925/0.7316, allocations: 130.2 kB / 0.8957 GB, free: 12.38 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.7318, allocations: 326 kB / 0.8961 GB, free: 12.05 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/0.7321, allocations: 189.2 kB / 0.8962 GB, free: 11.87 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005198/0.7326, allocations: 421 kB / 0.8966 GB, free: 11.36 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.002307/0.7349, allocations: 1.183 MB / 0.8978 GB, free: 10.08 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.7349, allocations: 4 kB / 0.8978 GB, free: 10.07 MB / 0.67 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001071/0.736, allocations: 0.6726 MB / 0.8985 GB, free: 9.395 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.736, allocations: 11.94 kB / 0.8985 GB, free: 9.383 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.736, allocations: 4 kB / 0.8985 GB, free: 9.379 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.7361, allocations: 12 kB / 0.8985 GB, free: 9.367 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004365/0.7365, allocations: 123.8 kB / 0.8986 GB, free: 9.246 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.9e-05/0.7365, allocations: 15.92 kB / 0.8986 GB, free: 9.23 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005448/0.7371, allocations: 32.53 kB / 0.8986 GB, free: 9.199 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.943e-05/0.7371, allocations: 28 kB / 0.8987 GB, free: 9.172 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.0004143/0.7375, allocations: 273.5 kB / 0.8989 GB, free: 8.895 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.7377, allocations: 87.42 kB / 0.899 GB, free: 8.809 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001704/0.7379, allocations: 99.66 kB / 0.8991 GB, free: 8.707 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.7379, allocations: 4 kB / 0.8991 GB, free: 8.703 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.7379, allocations: 0 / 0.8991 GB, free: 8.703 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007756/0.7387, allocations: 0.6921 MB / 0.8998 GB, free: 7.926 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002431/0.7411, allocations: 1.647 MB / 0.9014 GB, free: 6.172 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.7411, allocations: 4 kB / 0.9014 GB, free: 6.168 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004281/0.7415, allocations: 107.8 kB / 0.9015 GB, free: 6.062 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/0.7415, allocations: 7.938 kB / 0.9015 GB, free: 6.055 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/0.7416, allocations: 16 kB / 0.9015 GB, free: 6.039 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/0.7416, allocations: 11.98 kB / 0.9015 GB, free: 6.027 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/0.7416, allocations: 9.062 kB / 0.9015 GB, free: 6.02 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.7427, allocations: 0.8614 MB / 0.9024 GB, free: 5.094 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003077/0.743, allocations: 212.6 kB / 0.9026 GB, free: 4.867 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.827e-05/0.7431, allocations: 19.94 kB / 0.9026 GB, free: 4.848 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004167/0.7435, allocations: 16 kB / 0.9026 GB, free: 4.832 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.263e-05/0.7436, allocations: 39.83 kB / 0.9027 GB, free: 4.793 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.453e-05/0.7436, allocations: 20 kB / 0.9027 GB, free: 4.773 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006443/0.7443, allocations: 0.5107 MB / 0.9032 GB, free: 4.266 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.7443, allocations: 0 / 0.9032 GB, free: 4.266 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007016/0.745, allocations: 203.9 kB / 0.9034 GB, free: 4.066 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.0004683/0.7455, allocations: 200.4 kB / 0.9036 GB, free: 3.883 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0007803/0.7462, allocations: 463.8 kB / 0.904 GB, free: 3.43 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.7462, allocations: 0 / 0.904 GB, free: 3.43 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000289/0.7465, allocations: 205.2 kB / 0.9042 GB, free: 3.23 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/0.7485, allocations: 483.6 kB / 0.9047 GB, free: 2.777 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/0.7512, allocations: 1.745 MB / 0.9064 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006767/0.7518, allocations: 1.024 MB / 0.9074 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.752, allocations: 71.42 kB / 0.9074 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of SimCode: time 6.61e-07/0.752, allocations: 4 kB / 0.9074 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of Templates: time 0.01949/0.7715, allocations: 13.06 MB / 0.9202 GB, free: 2.895 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)