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.686/1.686, allocations: 292.6 MB / 307.6 MB, free: 5.094 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.001159/0.001159, allocations: 181 kB / 377.1 MB, free: 1.438 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.8/1.8, allocations: 205.4 MB / 0.6367 GB, free: 8.562 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.001039/0.001038, allocations: 93.06 kB / 0.751 GB, free: 62.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004086/0.0004086, allocations: 12 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3224, allocations: 116.3 MB / 0.9884 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.247/6.57, allocations: 2.086 GB / 3.075 GB, free: 95.82 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/6.57, allocations: 91.95 kB / 3.075 GB, free: 95.77 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.653/9.223, allocations: 0.5883 GB / 3.663 GB, free: 166.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.593e-06/9.223, allocations: 4.219 kB / 3.663 GB, free: 166.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.559e-05/9.223, allocations: 26.62 kB / 3.663 GB, free: 166.2 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.003185/9.226, allocations: 1.236 MB / 3.664 GB, free: 165.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/9.226, allocations: 9.719 kB / 3.664 GB, free: 165.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/9.227, allocations: 213.9 kB / 3.664 GB, free: 165.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/9.229, allocations: 0.6523 MB / 3.665 GB, free: 165.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.432e-05/9.229, allocations: 60.06 kB / 3.665 GB, free: 165.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/9.229, allocations: 75.53 kB / 3.665 GB, free: 165.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/9.23, allocations: 0.9107 MB / 3.666 GB, free: 165 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/9.23, allocations: 7.375 kB / 3.666 GB, free: 165 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.387e-05/9.23, allocations: 32.56 kB / 3.666 GB, free: 165 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.154e-05/9.231, allocations: 30.88 kB / 3.666 GB, free: 165 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009006/9.231, allocations: 0.5862 MB / 3.667 GB, free: 165 MB / 0.948 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.004244/9.236, allocations: 4.571 MB / 3.671 GB, free: 161.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006105/9.236, allocations: 442 kB / 3.672 GB, free: 161.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002199/9.237, allocations: 104.5 kB / 3.672 GB, free: 161.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/9.237, allocations: 41.53 kB / 3.672 GB, free: 161.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 3.897e-06/9.237, allocations: 0 / 3.672 GB, free: 161.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=45): time 0.002907/9.239, allocations: 1.554 MB / 3.673 GB, free: 161 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/9.24, allocations: 114.4 kB / 3.673 GB, free: 160.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007562/9.24, allocations: 0.6176 MB / 3.674 GB, free: 160.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.565e-05/9.24, allocations: 36.52 kB / 3.674 GB, free: 160.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002823/9.241, allocations: 420.9 kB / 3.674 GB, free: 160.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/9.241, allocations: 164.5 kB / 3.675 GB, free: 160.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/9.241, allocations: 18.09 kB / 3.675 GB, free: 160.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001656/9.241, allocations: 389 kB / 3.675 GB, free: 160.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/9.241, allocations: 178.5 kB / 3.675 GB, free: 160.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004335/9.242, allocations: 415.5 kB / 3.675 GB, free: 159.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.001744/9.243, allocations: 0.6509 MB / 3.676 GB, free: 159.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/9.243, allocations: 6.594 kB / 3.676 GB, free: 159.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001082/9.245, allocations: 0.6531 MB / 3.677 GB, free: 159.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/9.245, allocations: 7.5 kB / 3.677 GB, free: 159.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/9.245, allocations: 7.531 kB / 3.677 GB, free: 159.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.072e-05/9.245, allocations: 13.25 kB / 3.677 GB, free: 159.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006012/9.245, allocations: 131.1 kB / 3.677 GB, free: 159.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.273e-05/9.245, allocations: 14.28 kB / 3.677 GB, free: 159.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009297/9.246, allocations: 53 kB / 3.677 GB, free: 159.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.326e-05/9.246, allocations: 25.06 kB / 3.677 GB, free: 159.2 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006257/9.247, allocations: 279.8 kB / 3.677 GB, free: 159 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/9.247, allocations: 82.95 kB / 3.677 GB, free: 159 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/9.247, allocations: 87.53 kB / 3.677 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/9.247, allocations: 3.438 kB / 3.677 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.942e-05/9.248, allocations: 7.75 kB / 3.677 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000802/9.248, allocations: 0.6838 MB / 3.678 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003092/9.251, allocations: 1.602 MB / 3.68 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/9.251, allocations: 3.344 kB / 3.68 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004733/9.252, allocations: 106.6 kB / 3.68 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.467e-05/9.252, allocations: 7.469 kB / 3.68 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.181e-05/9.252, allocations: 18.78 kB / 3.68 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.268e-05/9.252, allocations: 10.64 kB / 3.68 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/9.252, allocations: 7.625 kB / 3.68 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/9.253, allocations: 1.047 MB / 3.681 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004486/9.254, allocations: 205.6 kB / 3.681 GB, free: 156.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001871/9.254, allocations: 13.64 kB / 3.681 GB, free: 156.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006391/9.255, allocations: 40.73 kB / 3.681 GB, free: 156.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.351e-05/9.255, allocations: 45.5 kB / 3.681 GB, free: 156.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.99e-05/9.255, allocations: 18.84 kB / 3.681 GB, free: 156.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007252/9.255, allocations: 0.4987 MB / 3.682 GB, free: 156.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.11e-07/9.255, allocations: 3.938 kB / 3.682 GB, free: 156.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001757/9.257, allocations: 360.1 kB / 3.682 GB, free: 156.1 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 () * 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 (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.003249/9.261, allocations: 1.667 MB / 3.684 GB, free: 155.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001267/9.262, allocations: 467.9 kB / 3.684 GB, free: 155.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/9.262, allocations: 0 / 3.684 GB, free: 155.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003279/9.262, allocations: 212.6 kB / 3.684 GB, free: 155.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002945/9.265, allocations: 464.5 kB / 3.685 GB, free: 155.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00445/9.27, allocations: 1.964 MB / 3.687 GB, free: 154 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/9.271, allocations: 1.047 MB / 3.688 GB, free: 153.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001158/9.272, allocations: 194 kB / 3.688 GB, free: 153.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002672/9.272, allocations: 63.41 kB / 3.688 GB, free: 153.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.793e-06/9.272, allocations: 0 / 3.688 GB, free: 153.2 MB / 0.948 GB Notification: Performance of Templates: time 0.0551/9.327, allocations: 33.78 MB / 3.721 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)