Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7568/0.7568, allocations: 143.4 MB / 158.3 MB, free: 5.781 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 185.9 kB / 191.5 MB, free: 5.738 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 223.2 MB / 447.7 MB, free: 4.793 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008697/0.0008697, allocations: 88.33 kB / 0.5188 GB, free: 1.152 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001679/0.001679, allocations: 277.3 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004459/0.000446, allocations: 12.94 kB / 0.6929 GB, free: 59.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.167, allocations: 82.79 MB / 0.7737 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.798/4.965, allocations: 1.891 GB / 2.664 GB, free: 136.9 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/4.966, allocations: 103 kB / 2.665 GB, free: 136.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.989/6.955, allocations: 0.5958 GB / 3.26 GB, free: 112.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.402e-06/6.955, allocations: 0 / 3.26 GB, free: 112.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.58e-05/6.955, allocations: 24 kB / 3.26 GB, free: 112.3 MB / 0.7136 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.002543/6.957, allocations: 1.243 MB / 3.262 GB, free: 111 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/6.957, allocations: 8.031 kB / 3.262 GB, free: 111 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/6.958, allocations: 210.6 kB / 3.262 GB, free: 110.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/6.96, allocations: 0.6601 MB / 3.263 GB, free: 110.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.893e-05/6.96, allocations: 58 kB / 3.263 GB, free: 110 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/6.96, allocations: 76 kB / 3.263 GB, free: 109.9 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/6.961, allocations: 0.9014 MB / 3.264 GB, free: 108.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/6.961, allocations: 11.89 kB / 3.264 GB, free: 108.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.009e-05/6.961, allocations: 32 kB / 3.264 GB, free: 108.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.053e-05/6.961, allocations: 29.3 kB / 3.264 GB, free: 108.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009036/6.962, allocations: 0.5865 MB / 3.264 GB, free: 108.3 MB / 0.7136 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.003855/6.966, allocations: 4.566 MB / 3.269 GB, free: 103.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005297/6.967, allocations: 442.5 kB / 3.269 GB, free: 103 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001832/6.967, allocations: 101.1 kB / 3.269 GB, free: 102.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/6.967, allocations: 39.59 kB / 3.269 GB, free: 102.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 2.405e-06/6.967, allocations: 3.172 kB / 3.269 GB, free: 102.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45): time 0.002603/6.969, allocations: 1.555 MB / 3.271 GB, free: 101.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/6.97, allocations: 110.8 kB / 3.271 GB, free: 101.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007267/6.97, allocations: 0.617 MB / 3.271 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.165e-05/6.97, allocations: 37.7 kB / 3.271 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002575/6.971, allocations: 411.8 kB / 3.272 GB, free: 99.98 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/6.971, allocations: 169.7 kB / 3.272 GB, free: 99.81 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-05/6.971, allocations: 12.06 kB / 3.272 GB, free: 99.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001536/6.971, allocations: 390.7 kB / 3.272 GB, free: 99.41 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/6.971, allocations: 185.2 kB / 3.273 GB, free: 99.23 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00038/6.972, allocations: 407.6 kB / 3.273 GB, free: 98.72 MB / 0.7136 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.001529/6.973, allocations: 0.6638 MB / 3.274 GB, free: 98.04 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/6.973, allocations: 4 kB / 3.274 GB, free: 98.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009224/6.974, allocations: 0.6541 MB / 3.274 GB, free: 97.38 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/6.974, allocations: 8 kB / 3.274 GB, free: 97.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/6.974, allocations: 16.03 kB / 3.274 GB, free: 97.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/6.974, allocations: 8 kB / 3.274 GB, free: 97.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004568/6.975, allocations: 123.8 kB / 3.274 GB, free: 97.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2e-05/6.975, allocations: 15.92 kB / 3.274 GB, free: 97.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006609/6.975, allocations: 51.83 kB / 3.274 GB, free: 97.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.309e-05/6.975, allocations: 31.98 kB / 3.274 GB, free: 97.13 MB / 0.7136 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.0004711/6.976, allocations: 277.5 kB / 3.275 GB, free: 96.85 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/6.976, allocations: 82.97 kB / 3.275 GB, free: 96.77 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/6.976, allocations: 87.59 kB / 3.275 GB, free: 96.68 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/6.976, allocations: 11.98 kB / 3.275 GB, free: 96.67 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/6.976, allocations: 3.938 kB / 3.275 GB, free: 96.66 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006028/6.977, allocations: 0.6804 MB / 3.276 GB, free: 95.9 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002264/6.979, allocations: 1.606 MB / 3.277 GB, free: 94.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/6.979, allocations: 7.984 kB / 3.277 GB, free: 94.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004339/6.98, allocations: 107.8 kB / 3.277 GB, free: 94.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.078e-06/6.98, allocations: 8.469 kB / 3.277 GB, free: 94.07 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/6.98, allocations: 12 kB / 3.277 GB, free: 94.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/6.98, allocations: 8 kB / 3.277 GB, free: 94.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/6.98, allocations: 7.938 kB / 3.277 GB, free: 94.05 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/6.981, allocations: 1.05 MB / 3.278 GB, free: 92.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003241/6.981, allocations: 200.2 kB / 3.279 GB, free: 92.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-05/6.981, allocations: 16 kB / 3.279 GB, free: 92.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005309/6.982, allocations: 43.81 kB / 3.279 GB, free: 92.57 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.364e-05/6.982, allocations: 43.84 kB / 3.279 GB, free: 92.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/6.982, allocations: 12 kB / 3.279 GB, free: 92.51 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005826/6.982, allocations: 0.5107 MB / 3.279 GB, free: 92 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.11e-07/6.982, allocations: 0 / 3.279 GB, free: 92 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001703/6.984, allocations: 363.9 kB / 3.279 GB, free: 91.65 MB / 0.7136 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.002696/6.987, allocations: 1.662 MB / 3.281 GB, free: 89.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007787/6.988, allocations: 476.6 kB / 3.282 GB, free: 89.46 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/6.988, allocations: 4.125 kB / 3.282 GB, free: 89.46 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002308/6.988, allocations: 207.7 kB / 3.282 GB, free: 89.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/6.99, allocations: 449.6 kB / 3.282 GB, free: 88.83 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/6.992, allocations: 1.976 MB / 3.284 GB, free: 86.78 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/6.993, allocations: 1.044 MB / 3.285 GB, free: 85.71 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007156/6.993, allocations: 194.9 kB / 3.285 GB, free: 85.52 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/6.994, allocations: 63.42 kB / 3.285 GB, free: 85.45 MB / 0.7136 GB Notification: Performance of SimCode: time 9.72e-07/6.994, allocations: 0 / 3.285 GB, free: 85.45 MB / 0.7136 GB Notification: Performance of Templates: time 0.04333/7.037, allocations: 33.8 MB / 3.318 GB, free: 51.88 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)