Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.629/1.629, allocations: 289.7 MB / 302.3 MB, free: 2.102 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 183.3 kB / 371.6 MB, free: 3.406 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.594/1.594, allocations: 205.1 MB / 0.6309 GB, free: 11.73 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 94.28 kB / 0.745 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.538e-05/3.54e-05, allocations: 4 kB / 0.8662 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2842, allocations: 116.3 MB / 0.9798 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.872/6.156, allocations: 2.086 GB / 3.066 GB, free: 154.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/6.156, allocations: 85.05 kB / 3.066 GB, free: 154.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.52/8.677, allocations: 0.5877 GB / 3.654 GB, free: 162 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.293e-06/8.677, allocations: 3.938 kB / 3.654 GB, free: 162 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.051e-05/8.677, allocations: 31.34 kB / 3.654 GB, free: 162 MB / 0.948 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.001854/8.679, allocations: 1.122 MB / 3.655 GB, free: 161.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/8.679, allocations: 9.562 kB / 3.655 GB, free: 161.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/8.68, allocations: 214.6 kB / 3.655 GB, free: 161.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/8.681, allocations: 0.6577 MB / 3.656 GB, free: 161.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.299e-05/8.681, allocations: 59.81 kB / 3.656 GB, free: 161.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/8.681, allocations: 80.38 kB / 3.656 GB, free: 161.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/8.682, allocations: 0.8878 MB / 3.657 GB, free: 160.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/8.682, allocations: 6.156 kB / 3.657 GB, free: 160.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.566e-05/8.682, allocations: 33.28 kB / 3.657 GB, free: 160.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-05/8.683, allocations: 28.12 kB / 3.657 GB, free: 160.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008214/8.683, allocations: 0.5827 MB / 3.657 GB, free: 160.9 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.00337/8.687, allocations: 4.561 MB / 3.662 GB, free: 157.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004967/8.687, allocations: 433.3 kB / 3.662 GB, free: 157.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/8.687, allocations: 234.9 kB / 3.662 GB, free: 157.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/8.688, allocations: 97.56 kB / 3.662 GB, free: 157.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/8.688, allocations: 51.69 kB / 3.663 GB, free: 157.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 2.595e-06/8.688, allocations: 0 / 3.663 GB, free: 157.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=45): time 0.00216/8.69, allocations: 1.389 MB / 3.664 GB, free: 156.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/8.69, allocations: 108.8 kB / 3.664 GB, free: 156.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006836/8.691, allocations: 0.6139 MB / 3.665 GB, free: 156.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.198e-05/8.691, allocations: 38.92 kB / 3.665 GB, free: 156.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/8.691, allocations: 419.4 kB / 3.665 GB, free: 156.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/8.691, allocations: 158.5 kB / 3.665 GB, free: 156.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/8.691, allocations: 13.5 kB / 3.665 GB, free: 156.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001379/8.691, allocations: 387.7 kB / 3.666 GB, free: 156.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/8.692, allocations: 178.2 kB / 3.666 GB, free: 156.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003944/8.692, allocations: 407.1 kB / 3.666 GB, free: 155.8 MB / 0.948 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.001517/8.693, allocations: 0.6613 MB / 3.667 GB, free: 155.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/8.693, allocations: 3.188 kB / 3.667 GB, free: 155.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009273/8.694, allocations: 0.6428 MB / 3.667 GB, free: 155.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/8.694, allocations: 12.34 kB / 3.667 GB, free: 155.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/8.694, allocations: 6.125 kB / 3.667 GB, free: 155.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/8.694, allocations: 11.59 kB / 3.667 GB, free: 155.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004281/8.695, allocations: 130.2 kB / 3.668 GB, free: 155.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/8.695, allocations: 9.906 kB / 3.668 GB, free: 155.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005657/8.696, allocations: 56.5 kB / 3.668 GB, free: 155.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.567e-05/8.696, allocations: 29.06 kB / 3.668 GB, free: 155.7 MB / 0.948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001296/8.696, allocations: 144 kB / 3.668 GB, free: 155.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/8.696, allocations: 88.42 kB / 3.668 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001731/8.696, allocations: 92.33 kB / 3.668 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/8.696, allocations: 10.28 kB / 3.668 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/8.696, allocations: 0 / 3.668 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005606/8.697, allocations: 0.6903 MB / 3.669 GB, free: 155 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/8.699, allocations: 1.6 MB / 3.67 GB, free: 154.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/8.699, allocations: 6.25 kB / 3.67 GB, free: 154.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004029/8.699, allocations: 93.05 kB / 3.67 GB, free: 154.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/8.699, allocations: 6.094 kB / 3.67 GB, free: 154.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.649e-05/8.699, allocations: 24.8 kB / 3.67 GB, free: 154.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/8.699, allocations: 8.625 kB / 3.67 GB, free: 154.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/8.699, allocations: 6.344 kB / 3.67 GB, free: 154.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/8.7, allocations: 1.048 MB / 3.671 GB, free: 153.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002661/8.7, allocations: 203.8 kB / 3.672 GB, free: 153.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.265e-05/8.7, allocations: 20.61 kB / 3.672 GB, free: 153.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004613/8.701, allocations: 38.64 kB / 3.672 GB, free: 153.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/8.701, allocations: 35.34 kB / 3.672 GB, free: 153.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/8.701, allocations: 19.41 kB / 3.672 GB, free: 153.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005432/8.702, allocations: 0.4963 MB / 3.672 GB, free: 153.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/8.702, allocations: 3.172 kB / 3.672 GB, free: 153.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001231/8.703, allocations: 365 kB / 3.673 GB, free: 153.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002284/8.705, allocations: 1.662 MB / 3.674 GB, free: 153.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008214/8.706, allocations: 451.5 kB / 3.675 GB, free: 153.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/8.706, allocations: 4.75 kB / 3.675 GB, free: 153.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002927/8.706, allocations: 208.7 kB / 3.675 GB, free: 153.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/8.708, allocations: 455 kB / 3.675 GB, free: 153.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/8.71, allocations: 1.296 MB / 3.676 GB, free: 152.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/8.711, allocations: 1.044 MB / 3.677 GB, free: 152 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006533/8.712, allocations: 195.2 kB / 3.678 GB, free: 152 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/8.712, allocations: 59.69 kB / 3.678 GB, free: 152 MB / 0.948 GB Notification: Performance of SimCode: time 9.81e-07/8.712, allocations: 0 / 3.678 GB, free: 152 MB / 0.948 GB Notification: Performance of Templates: time 0.05931/8.771, allocations: 38.07 MB / 3.715 GB, free: 150.2 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)