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.006886/0.006886, allocations: 104.8 kB / 15.74 MB, free: 6.496 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.001559/0.001559, allocations: 197.2 kB / 16.68 MB, free: 6.371 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.486/1.486, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.629/1.629, allocations: 251.7 MB / 0.5094 GB, free: 3.117 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.001444/0.001444, allocations: 67.89 kB / 0.7258 GB, free: 9.023 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2487, allocations: 104.7 MB / 0.8281 GB, free: 216 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.7604/1.009, allocations: 187.5 MB / 1.011 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01825/1.027, allocations: 13.16 MB / 1.024 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002618/1.03, allocations: 32.19 kB / 1.024 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002261/1.032, allocations: 419.7 kB / 1.024 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.005222/1.038, allocations: 1.168 MB / 1.026 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003238/1.041, allocations: 0.7229 MB / 1.026 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00455/1.046, allocations: 2.065 MB / 1.028 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002109/1.048, allocations: 0.8581 MB / 1.029 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005891/1.054, allocations: 1.831 MB / 1.031 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002883/1.057, allocations: 0.6625 MB / 1.032 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0004015/1.057, allocations: 80.16 kB / 1.032 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002826/1.06, allocations: 0.8747 MB / 1.033 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000737/1.061, allocations: 392.9 kB / 1.033 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001376/1.062, allocations: 0.5025 MB / 1.033 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004099/1.066, allocations: 1.528 MB / 1.035 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/1.066, allocations: 4 kB / 1.035 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.055e-06/1.066, allocations: 0 / 1.035 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.073e-05/1.066, allocations: 0 / 1.035 GB, free: 8.992 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.003171/1.069, allocations: 1.239 MB / 1.036 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/1.069, allocations: 12.03 kB / 1.036 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/1.071, allocations: 218.6 kB / 1.036 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/1.072, allocations: 0.6715 MB / 1.037 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.099e-05/1.072, allocations: 58 kB / 1.037 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/1.072, allocations: 83.89 kB / 1.037 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/1.074, allocations: 0.9443 MB / 1.038 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/1.074, allocations: 3.938 kB / 1.038 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.525e-05/1.074, allocations: 33.69 kB / 1.038 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.25e-05/1.074, allocations: 33.25 kB / 1.038 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000973/1.075, allocations: 0.6138 MB / 1.039 GB, free: 4.914 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.004517/1.079, allocations: 4.589 MB / 1.043 GB, free: 28 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007467/1.08, allocations: 0.5325 MB / 1.044 GB, free: 15.45 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003313/1.08, allocations: 245.5 kB / 1.044 GB, free: 15.2 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/1.081, allocations: 109.1 kB / 1.044 GB, free: 15.08 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/1.081, allocations: 42.34 kB / 1.044 GB, free: 15.03 MB / 0.795 GB Notification: Performance of pre-optimization done (n=43): time 3.016e-06/1.081, allocations: 0 / 1.044 GB, free: 15.03 MB / 0.795 GB Notification: Performance of matching and sorting (n=45): time 0.003041/1.084, allocations: 1.577 MB / 1.046 GB, free: 13.39 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.058e-05/1.084, allocations: 110.8 kB / 1.046 GB, free: 13.26 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009188/1.085, allocations: 0.7155 MB / 1.046 GB, free: 12.53 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.215e-05/1.085, allocations: 37.7 kB / 1.046 GB, free: 12.48 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003238/1.085, allocations: 415.8 kB / 1.047 GB, free: 12.07 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/1.085, allocations: 165.6 kB / 1.047 GB, free: 11.91 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/1.086, allocations: 114.2 kB / 1.047 GB, free: 11.79 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000165/1.086, allocations: 390.8 kB / 1.047 GB, free: 11.4 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002965/1.086, allocations: 185.2 kB / 1.048 GB, free: 11.22 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000465/1.087, allocations: 409 kB / 1.048 GB, free: 10.73 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.002111/1.089, allocations: 1.15 MB / 1.049 GB, free: 9.477 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/1.089, allocations: 4 kB / 1.049 GB, free: 9.473 MB / 0.795 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001041/1.09, allocations: 0.6637 MB / 1.05 GB, free: 8.801 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/1.09, allocations: 8 kB / 1.05 GB, free: 8.793 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/1.09, allocations: 10.19 kB / 1.05 GB, free: 8.785 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/1.09, allocations: 8 kB / 1.05 GB, free: 8.777 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005019/1.09, allocations: 132.9 kB / 1.05 GB, free: 8.648 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-05/1.09, allocations: 15.92 kB / 1.05 GB, free: 8.633 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006317/1.091, allocations: 27.89 kB / 1.05 GB, free: 8.605 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.777e-05/1.091, allocations: 28 kB / 1.05 GB, free: 8.578 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.0004278/1.091, allocations: 279.2 kB / 1.05 GB, free: 8.301 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/1.092, allocations: 83 kB / 1.05 GB, free: 8.219 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/1.092, allocations: 91.59 kB / 1.05 GB, free: 8.121 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/1.092, allocations: 12 kB / 1.05 GB, free: 8.109 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/1.092, allocations: 0 / 1.05 GB, free: 8.109 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007284/1.093, allocations: 0.6968 MB / 1.051 GB, free: 7.328 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002612/1.095, allocations: 1.639 MB / 1.053 GB, free: 5.582 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/1.095, allocations: 4 kB / 1.053 GB, free: 5.578 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004673/1.096, allocations: 107.8 kB / 1.053 GB, free: 5.473 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/1.096, allocations: 4 kB / 1.053 GB, free: 5.469 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-05/1.096, allocations: 16 kB / 1.053 GB, free: 5.453 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.304e-05/1.096, allocations: 16.05 kB / 1.053 GB, free: 5.438 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.096, allocations: 7.938 kB / 1.053 GB, free: 5.43 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/1.097, allocations: 0.877 MB / 1.054 GB, free: 4.492 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003938/1.097, allocations: 216 kB / 1.054 GB, free: 4.262 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/1.098, allocations: 16 kB / 1.054 GB, free: 4.246 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005198/1.098, allocations: 29.5 kB / 1.054 GB, free: 4.219 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/1.098, allocations: 39.84 kB / 1.054 GB, free: 4.18 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-05/1.098, allocations: 19.98 kB / 1.054 GB, free: 4.16 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006873/1.099, allocations: 0.5107 MB / 1.055 GB, free: 3.656 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.51e-07/1.099, allocations: 0 / 1.055 GB, free: 3.656 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0008702/1.1, allocations: 204 kB / 1.055 GB, free: 3.457 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.0005888/1.1, allocations: 198.4 kB / 1.055 GB, free: 3.273 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009444/1.101, allocations: 481.3 kB / 1.055 GB, free: 2.805 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.101, allocations: 0 / 1.055 GB, free: 2.805 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003029/1.102, allocations: 212.6 kB / 1.056 GB, free: 2.598 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002224/1.104, allocations: 485 kB / 1.056 GB, free: 2.129 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/1.107, allocations: 1.647 MB / 1.058 GB, free: 412 kB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007672/1.108, allocations: 1.029 MB / 1.059 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0007959/1.109, allocations: 202.9 kB / 1.059 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002059/1.109, allocations: 63.44 kB / 1.059 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of SimCode: time 3.226e-06/1.109, allocations: 4 kB / 1.059 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of Templates: time 0.03091/1.14, allocations: 15.34 MB / 1.074 GB, free: 24 kB / 0.8106 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)