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.001212/0.001212, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.683/1.683, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.668/1.668, allocations: 251.7 MB / 0.5092 GB, free: 3.16 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.001514/0.001514, allocations: 71.91 kB / 0.6223 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6447/0.6463, allocations: 104.7 MB / 0.7245 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2289/0.8752, allocations: 187.5 MB / 0.9076 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.6824/1.558, allocations: 13.14 MB / 0.9204 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001798/1.56, allocations: 28.94 kB / 0.9205 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001564/1.561, allocations: 431 kB / 0.9209 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004105/1.565, allocations: 1.158 MB / 0.922 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002536/1.568, allocations: 0.7189 MB / 0.9227 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004105/1.572, allocations: 2.06 MB / 0.9247 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002338/1.574, allocations: 0.8629 MB / 0.9256 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007614/1.582, allocations: 1.824 MB / 0.9273 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002899/1.585, allocations: 0.6685 MB / 0.928 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004895/1.585, allocations: 81.12 kB / 0.9281 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003139/1.589, allocations: 0.8705 MB / 0.9289 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008939/1.589, allocations: 397.2 kB / 0.9293 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001637/1.591, allocations: 0.5036 MB / 0.9298 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003452/1.595, allocations: 1.505 MB / 0.9313 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.595, allocations: 0 / 0.9313 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.204e-06/1.595, allocations: 0.5312 kB / 0.9313 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.207e-05/1.595, allocations: 0.8438 kB / 0.9313 GB, free: 1.508 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.003229/1.598, allocations: 1.237 MB / 0.9325 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/1.598, allocations: 8.062 kB / 0.9325 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001459/1.599, allocations: 217.8 kB / 0.9327 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009757/1.6, allocations: 0.6421 MB / 0.9333 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.066e-05/1.6, allocations: 59.67 kB / 0.9334 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/1.601, allocations: 80.16 kB / 0.9334 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/1.602, allocations: 0.9405 MB / 0.9344 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/1.602, allocations: 6.469 kB / 0.9344 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.892e-05/1.602, allocations: 31.72 kB / 0.9344 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.824e-05/1.602, allocations: 31.92 kB / 0.9344 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/1.604, allocations: 0.6214 MB / 0.935 GB, free: 16.19 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.004844/1.608, allocations: 4.613 MB / 0.9395 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006532/1.609, allocations: 0.5349 MB / 0.9401 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/1.609, allocations: 246.7 kB / 0.9403 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002212/1.61, allocations: 100.3 kB / 0.9404 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/1.61, allocations: 45.23 kB / 0.9404 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 1.994e-06/1.61, allocations: 0.9062 kB / 0.9404 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.00297/1.613, allocations: 1.568 MB / 0.942 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.046e-05/1.613, allocations: 112.1 kB / 0.9421 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/1.614, allocations: 0.7198 MB / 0.9428 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.547e-05/1.614, allocations: 35.67 kB / 0.9428 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003128/1.614, allocations: 414.3 kB / 0.9432 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/1.614, allocations: 164.9 kB / 0.9434 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/1.614, allocations: 115.4 kB / 0.9435 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001998/1.615, allocations: 389.4 kB / 0.9439 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003087/1.615, allocations: 180.2 kB / 0.944 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004806/1.615, allocations: 416 kB / 0.9444 GB, free: 10.93 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.002079/1.618, allocations: 1.152 MB / 0.9455 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/1.618, allocations: 8.156 kB / 0.9456 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009634/1.619, allocations: 0.659 MB / 0.9462 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/1.619, allocations: 10.19 kB / 0.9462 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/1.619, allocations: 6.5 kB / 0.9462 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/1.619, allocations: 8 kB / 0.9462 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004472/1.619, allocations: 129.3 kB / 0.9463 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-05/1.619, allocations: 17.5 kB / 0.9464 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005713/1.62, allocations: 29.62 kB / 0.9464 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.263e-05/1.62, allocations: 24.66 kB / 0.9464 GB, free: 10.52 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.0003703/1.62, allocations: 292.8 kB / 0.9467 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/1.62, allocations: 79.16 kB / 0.9468 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/1.621, allocations: 89.59 kB / 0.9469 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/1.621, allocations: 8.984 kB / 0.9469 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/1.621, allocations: 3.188 kB / 0.9469 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007018/1.621, allocations: 0.6935 MB / 0.9475 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002417/1.624, allocations: 1.649 MB / 0.9492 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/1.624, allocations: 5.25 kB / 0.9492 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004232/1.624, allocations: 100.8 kB / 0.9493 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/1.624, allocations: 5.656 kB / 0.9493 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.705e-05/1.624, allocations: 18.38 kB / 0.9493 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/1.624, allocations: 5.031 kB / 0.9493 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.624, allocations: 9.406 kB / 0.9493 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/1.625, allocations: 0.8844 MB / 0.9502 GB, free: 8.973 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003468/1.626, allocations: 208.3 kB / 0.9504 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/1.626, allocations: 18.78 kB / 0.9504 GB, free: 8.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004855/1.626, allocations: 28.17 kB / 0.9504 GB, free: 8.832 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.891e-05/1.626, allocations: 38.05 kB / 0.9504 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.936e-05/1.626, allocations: 24.53 kB / 0.9505 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006326/1.627, allocations: 0.5096 MB / 0.951 GB, free: 8.738 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.51e-07/1.627, allocations: 0.7812 kB / 0.951 GB, free: 8.738 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007588/1.628, allocations: 204.8 kB / 0.9511 GB, free: 8.734 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.0005191/1.628, allocations: 197.4 kB / 0.9513 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008411/1.629, allocations: 0.5091 MB / 0.9518 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/1.629, allocations: 2.625 kB / 0.9518 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002929/1.63, allocations: 217.2 kB / 0.952 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/1.632, allocations: 476.8 kB / 0.9525 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/1.635, allocations: 1.665 MB / 0.9541 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000735/1.635, allocations: 1.03 MB / 0.9551 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007903/1.636, allocations: 198.7 kB / 0.9553 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/1.636, allocations: 66.86 kB / 0.9554 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of SimCode: time 5.81e-07/1.636, allocations: 0 / 0.9554 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of Templates: time 0.03047/1.667, allocations: 15.2 MB / 0.9702 GB, free: 4.859 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)