Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001077/0.001077, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.008681/0.008681, allocations: 171.2 kB / 16.27 MB, free: 6.648 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.551/1.551, allocations: 223.3 MB / 240.3 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.861/2.861, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004086/0.0004087, allocations: 10.81 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3784, allocations: 162.2 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2029/0.5814, allocations: 182.6 MB / 1.252 GB, free: 284 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.927/1.508, allocations: 12.93 MB / 1.265 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/1.51, allocations: 28.56 kB / 1.265 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001293/1.511, allocations: 352.9 kB / 1.265 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003441/1.515, allocations: 1.086 MB / 1.267 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002268/1.517, allocations: 0.6253 MB / 1.267 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004434/1.521, allocations: 2.78 MB / 1.27 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/1.523, allocations: 0.7079 MB / 1.271 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006415/1.529, allocations: 1.626 MB / 1.272 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003367/1.533, allocations: 0.6577 MB / 1.273 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002592/1.533, allocations: 35.53 kB / 1.273 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004011/1.537, allocations: 0.9717 MB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006559/1.538, allocations: 332.5 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009163/1.539, allocations: 472.5 kB / 1.275 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002671/1.541, allocations: 1.474 MB / 1.276 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/1.541, allocations: 0 / 1.276 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.995e-06/1.541, allocations: 0 / 1.276 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.834e-05/1.541, allocations: 0 / 1.276 GB, free: 5.863 MB / 0.9981 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.002579/1.544, allocations: 1.052 MB / 1.277 GB, free: 21.19 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/1.544, allocations: 9 kB / 1.277 GB, free: 21.19 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001908/1.546, allocations: 216 kB / 1.277 GB, free: 21.13 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/1.548, allocations: 0.6477 MB / 1.278 GB, free: 20.83 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-05/1.548, allocations: 56.41 kB / 1.278 GB, free: 20.83 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001834/1.548, allocations: 82.38 kB / 1.278 GB, free: 20.82 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002478/1.55, allocations: 0.9373 MB / 1.279 GB, free: 20.56 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.882e-05/1.55, allocations: 5.156 kB / 1.279 GB, free: 20.56 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/1.551, allocations: 31.34 kB / 1.279 GB, free: 20.56 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.975e-05/1.551, allocations: 29 kB / 1.279 GB, free: 20.55 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001893/1.553, allocations: 0.6195 MB / 1.28 GB, free: 20.55 MB / 1.014 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.007791/1.56, allocations: 4.596 MB / 1.284 GB, free: 17.37 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/1.562, allocations: 0.5546 MB / 1.285 GB, free: 17.19 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006551/1.562, allocations: 243.5 kB / 1.285 GB, free: 17.17 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002661/1.563, allocations: 105.8 kB / 1.285 GB, free: 17.07 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/1.563, allocations: 48.42 kB / 1.285 GB, free: 17.02 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 5.009e-06/1.563, allocations: 0.6562 kB / 1.285 GB, free: 17.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.004711/1.568, allocations: 1.583 MB / 1.286 GB, free: 16.41 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.552e-05/1.568, allocations: 113.3 kB / 1.287 GB, free: 16.29 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/1.569, allocations: 0.7165 MB / 1.287 GB, free: 16.15 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.699e-05/1.569, allocations: 31.98 kB / 1.287 GB, free: 16.12 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004567/1.57, allocations: 422.1 kB / 1.288 GB, free: 15.93 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/1.57, allocations: 157.4 kB / 1.288 GB, free: 15.83 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/1.57, allocations: 58.22 kB / 1.288 GB, free: 15.81 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002209/1.57, allocations: 330.7 kB / 1.288 GB, free: 15.51 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004435/1.571, allocations: 187.9 kB / 1.288 GB, free: 15.51 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006386/1.571, allocations: 414.7 kB / 1.289 GB, free: 15.26 MB / 1.014 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.003351/1.575, allocations: 1.186 MB / 1.29 GB, free: 14.91 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.557e-06/1.575, allocations: 6.688 kB / 1.29 GB, free: 14.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001759/1.577, allocations: 0.6698 MB / 1.291 GB, free: 14.82 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.5e-05/1.577, allocations: 7.469 kB / 1.291 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.266e-05/1.577, allocations: 7.312 kB / 1.291 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.887e-05/1.577, allocations: 10.03 kB / 1.291 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000724/1.577, allocations: 130.5 kB / 1.291 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.574e-05/1.577, allocations: 10.58 kB / 1.291 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/1.579, allocations: 55.34 kB / 1.291 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.332e-05/1.579, allocations: 33 kB / 1.291 GB, free: 14.81 MB / 1.014 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0007394/1.579, allocations: 272.9 kB / 1.291 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/1.58, allocations: 83.95 kB / 1.291 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/1.58, allocations: 95.55 kB / 1.291 GB, free: 14.63 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/1.58, allocations: 5.406 kB / 1.291 GB, free: 14.63 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-05/1.58, allocations: 3.266 kB / 1.291 GB, free: 14.63 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001236/1.581, allocations: 0.6994 MB / 1.292 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003595/1.585, allocations: 1.644 MB / 1.294 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/1.585, allocations: 3.844 kB / 1.294 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006178/1.586, allocations: 102.1 kB / 1.294 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.224e-05/1.586, allocations: 4.812 kB / 1.294 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.754e-05/1.586, allocations: 16.09 kB / 1.294 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.575e-05/1.586, allocations: 9.781 kB / 1.294 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/1.586, allocations: 4.062 kB / 1.294 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/1.587, allocations: 0.8737 MB / 1.295 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004619/1.588, allocations: 207 kB / 1.295 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/1.588, allocations: 23.5 kB / 1.295 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007055/1.589, allocations: 33.86 kB / 1.295 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.848e-05/1.589, allocations: 40.08 kB / 1.295 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.538e-05/1.589, allocations: 22.14 kB / 1.295 GB, free: 13.1 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001152/1.59, allocations: 0.5057 MB / 1.295 GB, free: 13.01 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.81e-07/1.59, allocations: 0.9688 kB / 1.295 GB, free: 13.01 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001595/1.592, allocations: 203.6 kB / 1.296 GB, free: 13 MB / 1.014 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.0007361/1.592, allocations: 193.7 kB / 1.296 GB, free: 12.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00141/1.594, allocations: 473 kB / 1.296 GB, free: 12.89 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/1.594, allocations: 384 / 1.296 GB, free: 12.89 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004832/1.594, allocations: 221.1 kB / 1.296 GB, free: 12.88 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003669/1.598, allocations: 455.4 kB / 1.297 GB, free: 12.84 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004268/1.602, allocations: 2.035 MB / 1.299 GB, free: 11.71 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/1.603, allocations: 1.029 MB / 1.3 GB, free: 11 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001219/1.605, allocations: 197.6 kB / 1.3 GB, free: 10.96 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002489/1.605, allocations: 63.19 kB / 1.3 GB, free: 10.95 MB / 1.014 GB Notification: Performance of SimCode: time 3.066e-06/1.605, allocations: 1.312 kB / 1.3 GB, free: 10.95 MB / 1.014 GB Notification: Performance of Templates: time 0.04189/1.647, allocations: 14.4 MB / 1.314 GB, free: 10.07 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)