Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.008069/0.008069, allocations: 102 kB / 15.73 MB, free: 6.477 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.001578/0.001578, allocations: 195.6 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.1 MB / 222.5 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.705/1.705, allocations: 251.7 MB / 0.5094 GB, free: 3.105 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 71.89 kB / 0.7258 GB, free: 9.027 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2486, allocations: 104.7 MB / 0.8281 GB, free: 220 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.9759/1.225, allocations: 187.5 MB / 1.011 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02223/1.247, allocations: 13.15 MB / 1.024 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001949/1.249, allocations: 31.59 kB / 1.024 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00197/1.251, allocations: 434.5 kB / 1.024 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004873/1.256, allocations: 1.207 MB / 1.026 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00269/1.259, allocations: 0.7336 MB / 1.026 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003561/1.262, allocations: 2.062 MB / 1.028 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001746/1.264, allocations: 0.8568 MB / 1.029 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005618/1.269, allocations: 1.897 MB / 1.031 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002192/1.272, allocations: 0.6744 MB / 1.032 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003169/1.272, allocations: 83.12 kB / 1.032 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002756/1.275, allocations: 0.871 MB / 1.033 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0006258/1.275, allocations: 392.8 kB / 1.033 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0008529/1.276, allocations: 0.5032 MB / 1.034 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002994/1.279, allocations: 1.525 MB / 1.035 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/1.279, allocations: 0 / 1.035 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of FrontEnd: time 6.221e-06/1.279, allocations: 0 / 1.035 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.732e-05/1.279, allocations: 3.938 kB / 1.035 GB, free: 8.84 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002104/1.281, allocations: 1.246 MB / 1.036 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/1.282, allocations: 12.03 kB / 1.036 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/1.283, allocations: 226.6 kB / 1.036 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/1.284, allocations: 0.6637 MB / 1.037 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.976e-05/1.284, allocations: 65.94 kB / 1.037 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/1.284, allocations: 79.91 kB / 1.037 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/1.285, allocations: 0.9443 MB / 1.038 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/1.285, allocations: 4 kB / 1.038 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.452e-05/1.286, allocations: 39.97 kB / 1.038 GB, free: 5.391 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.487e-05/1.286, allocations: 29.25 kB / 1.038 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009711/1.287, allocations: 0.6216 MB / 1.039 GB, free: 4.742 MB / 0.7794 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.004454/1.291, allocations: 4.582 MB / 1.043 GB, free: 15.86 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007146/1.292, allocations: 0.5325 MB / 1.044 GB, free: 15.29 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003329/1.292, allocations: 239.2 kB / 1.044 GB, free: 15.04 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000211/1.292, allocations: 105 kB / 1.044 GB, free: 14.92 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/1.292, allocations: 46.34 kB / 1.044 GB, free: 14.87 MB / 0.795 GB Notification: Performance of pre-optimization done (n=43): time 2.635e-06/1.292, allocations: 0 / 1.044 GB, free: 14.87 MB / 0.795 GB Notification: Performance of matching and sorting (n=45): time 0.002729/1.295, allocations: 1.569 MB / 1.046 GB, free: 13.24 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.264e-05/1.295, allocations: 111.1 kB / 1.046 GB, free: 13.11 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008411/1.296, allocations: 0.7194 MB / 1.047 GB, free: 12.37 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/1.296, allocations: 33.7 kB / 1.047 GB, free: 12.33 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/1.296, allocations: 415.8 kB / 1.047 GB, free: 11.92 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/1.297, allocations: 165.6 kB / 1.047 GB, free: 11.76 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/1.297, allocations: 114.2 kB / 1.047 GB, free: 11.64 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001728/1.297, allocations: 386.8 kB / 1.048 GB, free: 11.25 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002712/1.297, allocations: 185.2 kB / 1.048 GB, free: 11.07 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004418/1.298, allocations: 413 kB / 1.048 GB, free: 10.57 MB / 0.795 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.002071/1.3, allocations: 1.151 MB / 1.049 GB, free: 9.32 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.3, allocations: 0 / 1.049 GB, free: 9.32 MB / 0.795 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009814/1.301, allocations: 0.6718 MB / 1.05 GB, free: 8.641 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/1.301, allocations: 8 kB / 1.05 GB, free: 8.633 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/1.301, allocations: 8 kB / 1.05 GB, free: 8.625 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/1.301, allocations: 8 kB / 1.05 GB, free: 8.617 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/1.301, allocations: 123.8 kB / 1.05 GB, free: 8.496 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.76e-05/1.301, allocations: 15.92 kB / 1.05 GB, free: 8.48 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005388/1.302, allocations: 28.34 kB / 1.05 GB, free: 8.453 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.648e-05/1.302, allocations: 31.98 kB / 1.05 GB, free: 8.422 MB / 0.795 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.0004669/1.302, allocations: 279.1 kB / 1.05 GB, free: 8.141 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/1.303, allocations: 83 kB / 1.051 GB, free: 8.059 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/1.303, allocations: 91.61 kB / 1.051 GB, free: 7.961 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/1.303, allocations: 7.984 kB / 1.051 GB, free: 7.953 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/1.303, allocations: 0 / 1.051 GB, free: 7.953 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007665/1.303, allocations: 0.696 MB / 1.051 GB, free: 7.172 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00251/1.306, allocations: 1.646 MB / 1.053 GB, free: 5.418 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/1.306, allocations: 9.062 kB / 1.053 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004411/1.306, allocations: 96.33 kB / 1.053 GB, free: 5.316 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/1.307, allocations: 11.94 kB / 1.053 GB, free: 5.305 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.738e-05/1.307, allocations: 20 kB / 1.053 GB, free: 5.285 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/1.307, allocations: 7.984 kB / 1.053 GB, free: 5.277 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.307, allocations: 4 kB / 1.053 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/1.308, allocations: 0.8847 MB / 1.054 GB, free: 4.328 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003133/1.308, allocations: 212 kB / 1.054 GB, free: 4.102 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/1.308, allocations: 20.86 kB / 1.054 GB, free: 4.082 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004595/1.309, allocations: 15.98 kB / 1.054 GB, free: 4.066 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.531e-05/1.309, allocations: 39.84 kB / 1.054 GB, free: 4.027 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.124e-05/1.309, allocations: 23.98 kB / 1.054 GB, free: 4.004 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006739/1.309, allocations: 0.5068 MB / 1.055 GB, free: 3.504 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/1.309, allocations: 0 / 1.055 GB, free: 3.504 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000797/1.31, allocations: 208 kB / 1.055 GB, free: 3.301 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],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.0005155/1.311, allocations: 196.6 kB / 1.055 GB, free: 3.117 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009308/1.312, allocations: 481.3 kB / 1.056 GB, free: 2.648 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/1.312, allocations: 4 kB / 1.056 GB, free: 2.645 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003183/1.312, allocations: 209.2 kB / 1.056 GB, free: 2.441 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/1.314, allocations: 476.6 kB / 1.056 GB, free: 1.988 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003471/1.318, allocations: 1.659 MB / 1.058 GB, free: 256 kB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00093/1.319, allocations: 1.032 MB / 1.059 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0008629/1.319, allocations: 202.9 kB / 1.059 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/1.32, allocations: 63.42 kB / 1.059 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of SimCode: time 4.238e-06/1.32, allocations: 0 / 1.059 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of Templates: time 0.03238/1.352, allocations: 15.34 MB / 1.074 GB, free: 15.86 MB / 0.8262 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)