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.00126/0.00126, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001609/0.001609, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.571/1.571, allocations: 205.1 MB / 222 MB, free: 4.777 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.564/1.564, allocations: 251.6 MB / 0.5088 GB, free: 3.332 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.001658/0.001658, allocations: 56.48 kB / 0.6216 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6027/0.6043, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2176/0.822, allocations: 185.2 MB / 0.9047 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.7173/1.539, allocations: 13.18 MB / 0.9176 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001935/1.541, allocations: 28.19 kB / 0.9176 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00175/1.543, allocations: 354.4 kB / 0.918 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004318/1.547, allocations: 1.097 MB / 0.919 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002827/1.55, allocations: 0.6436 MB / 0.9197 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005415/1.556, allocations: 2.84 MB / 0.9224 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/1.557, allocations: 0.7347 MB / 0.9231 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006506/1.564, allocations: 1.661 MB / 0.9248 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003072/1.567, allocations: 0.6928 MB / 0.9254 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002467/1.567, allocations: 45.09 kB / 0.9255 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003218/1.57, allocations: 0.9875 MB / 0.9264 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006896/1.571, allocations: 361.1 kB / 0.9268 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009878/1.572, allocations: 479.2 kB / 0.9273 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002545/1.575, allocations: 1.513 MB / 0.9287 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/1.575, allocations: 0 / 0.9287 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.514e-06/1.575, allocations: 3.188 kB / 0.9287 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.475e-05/1.575, allocations: 0 / 0.9287 GB, free: 1.531 MB / 0.7169 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.002391/1.577, allocations: 1.245 MB / 0.9299 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.589e-05/1.577, allocations: 8.594 kB / 0.93 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001526/1.579, allocations: 218.7 kB / 0.9302 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/1.58, allocations: 0.6382 MB / 0.9308 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.661e-05/1.58, allocations: 60.38 kB / 0.9308 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/1.58, allocations: 81.72 kB / 0.9309 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/1.582, allocations: 0.934 MB / 0.9318 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.106e-05/1.582, allocations: 4.719 kB / 0.9318 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.685e-05/1.582, allocations: 35.44 kB / 0.9319 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.268e-05/1.582, allocations: 30.7 kB / 0.9319 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/1.583, allocations: 0.6191 MB / 0.9325 GB, free: 16.2 MB / 0.7325 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.00525/1.588, allocations: 4.612 MB / 0.937 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007591/1.589, allocations: 0.5246 MB / 0.9375 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000334/1.59, allocations: 243.8 kB / 0.9378 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002215/1.59, allocations: 106.2 kB / 0.9379 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/1.59, allocations: 43.69 kB / 0.9379 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.645e-06/1.59, allocations: 0 / 0.9379 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.00319/1.593, allocations: 1.579 MB / 0.9394 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.57e-05/1.593, allocations: 105.6 kB / 0.9395 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009086/1.594, allocations: 0.7147 MB / 0.9402 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.498e-05/1.594, allocations: 35.17 kB / 0.9403 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/1.595, allocations: 417.7 kB / 0.9407 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/1.595, allocations: 163.6 kB / 0.9408 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/1.595, allocations: 120.7 kB / 0.9409 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000192/1.595, allocations: 386.8 kB / 0.9413 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002829/1.595, allocations: 188.8 kB / 0.9415 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004541/1.596, allocations: 408.9 kB / 0.9419 GB, free: 10.9 MB / 0.7325 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.00205/1.598, allocations: 1.154 MB / 0.943 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/1.598, allocations: 2.094 kB / 0.943 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009467/1.599, allocations: 0.6666 MB / 0.9437 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.599, allocations: 6.344 kB / 0.9437 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/1.599, allocations: 7.375 kB / 0.9437 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/1.599, allocations: 9.188 kB / 0.9437 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004525/1.599, allocations: 136.1 kB / 0.9438 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/1.599, allocations: 14.72 kB / 0.9438 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006809/1.6, allocations: 51.41 kB / 0.9439 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.665e-05/1.6, allocations: 25.31 kB / 0.9439 GB, free: 10.45 MB / 0.7325 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.0004122/1.601, allocations: 282.1 kB / 0.9442 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/1.601, allocations: 87.66 kB / 0.9443 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/1.601, allocations: 92.78 kB / 0.9443 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/1.601, allocations: 4.312 kB / 0.9443 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/1.601, allocations: 3.062 kB / 0.9443 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006854/1.602, allocations: 0.6933 MB / 0.945 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002368/1.604, allocations: 1.645 MB / 0.9466 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/1.604, allocations: 5.281 kB / 0.9466 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004602/1.604, allocations: 100 kB / 0.9467 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/1.604, allocations: 4.719 kB / 0.9467 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.78e-05/1.605, allocations: 15.22 kB / 0.9468 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.548e-05/1.605, allocations: 14.59 kB / 0.9468 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/1.605, allocations: 3.25 kB / 0.9468 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/1.606, allocations: 0.8877 MB / 0.9476 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003272/1.606, allocations: 206.8 kB / 0.9478 GB, free: 8.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/1.606, allocations: 22.33 kB / 0.9479 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005162/1.607, allocations: 44.7 kB / 0.9479 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.763e-05/1.607, allocations: 42.5 kB / 0.9479 GB, free: 8.742 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-05/1.607, allocations: 13.22 kB / 0.9479 GB, free: 8.742 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000661/1.608, allocations: 0.516 MB / 0.9485 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/1.608, allocations: 0 / 0.9485 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008541/1.609, allocations: 205.5 kB / 0.9486 GB, free: 8.645 MB / 0.7325 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.000508/1.609, allocations: 199.9 kB / 0.9488 GB, free: 8.531 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007846/1.61, allocations: 464.5 kB / 0.9493 GB, free: 8.531 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.84e-06/1.61, allocations: 6.406 kB / 0.9493 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000266/1.61, allocations: 214.6 kB / 0.9495 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/1.612, allocations: 451.1 kB / 0.9499 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003546/1.616, allocations: 1.949 MB / 0.9518 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006933/1.616, allocations: 1.037 MB / 0.9528 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008987/1.617, allocations: 195.7 kB / 0.953 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/1.618, allocations: 64.28 kB / 0.9531 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of SimCode: time 6.61e-07/1.618, allocations: 0 / 0.9531 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of Templates: time 0.03033/1.648, allocations: 14.6 MB / 0.9673 GB, free: 4.242 MB / 0.7325 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)