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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.7493/0.7493, allocations: 140.1 MB / 156 MB, free: 5.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 183.6 kB / 188.5 MB, free: 15.81 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.4 MB / 426.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007612/0.0007614, allocations: 94.28 kB / 0.4945 GB, free: 8.402 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001779/0.001779, allocations: 272.7 kB / 0.5728 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005089/0.0005089, allocations: 16 kB / 0.662 GB, free: 6.793 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4927/0.4932, allocations: 79.3 MB / 0.7395 GB, free: 46.33 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.105/5.598, allocations: 2.055 GB / 2.795 GB, free: 234.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/5.599, allocations: 91.95 kB / 2.795 GB, free: 234.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.096/7.695, allocations: 0.5872 GB / 3.382 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.463e-06/7.695, allocations: 0 / 3.382 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.876e-05/7.695, allocations: 25.94 kB / 3.382 GB, free: 138.2 MB / 0.6823 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.002668/7.697, allocations: 1.241 MB / 3.383 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/7.697, allocations: 8.812 kB / 3.383 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/7.699, allocations: 203 kB / 3.383 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/7.7, allocations: 0.683 MB / 3.384 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.032e-05/7.7, allocations: 61 kB / 3.384 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/7.7, allocations: 75.62 kB / 3.384 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/7.701, allocations: 0.9095 MB / 3.385 GB, free: 137 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/7.701, allocations: 6.094 kB / 3.385 GB, free: 137 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.714e-05/7.701, allocations: 33.56 kB / 3.385 GB, free: 137 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.385e-05/7.701, allocations: 29.62 kB / 3.385 GB, free: 137 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000854/7.702, allocations: 0.5924 MB / 3.386 GB, free: 137 MB / 0.6823 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.003751/7.706, allocations: 4.572 MB / 3.39 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005733/7.707, allocations: 439 kB / 3.391 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003268/7.707, allocations: 234.5 kB / 3.391 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001974/7.707, allocations: 104.7 kB / 3.391 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/7.707, allocations: 44.97 kB / 3.391 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 2.996e-06/7.707, allocations: 0 / 3.391 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45): time 0.002622/7.71, allocations: 1.554 MB / 3.392 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/7.71, allocations: 111.4 kB / 3.393 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008058/7.711, allocations: 0.7001 MB / 3.393 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.384e-05/7.711, allocations: 36.89 kB / 3.393 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/7.711, allocations: 422.9 kB / 3.394 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/7.711, allocations: 169 kB / 3.394 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/7.711, allocations: 13.34 kB / 3.394 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001195/7.711, allocations: 385.7 kB / 3.394 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/7.711, allocations: 178 kB / 3.394 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003777/7.712, allocations: 422.7 kB / 3.395 GB, free: 131.9 MB / 0.6823 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.002004/7.714, allocations: 1.155 MB / 3.396 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/7.714, allocations: 0 / 3.396 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009978/7.715, allocations: 0.6627 MB / 3.397 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/7.715, allocations: 10.81 kB / 3.397 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/7.715, allocations: 7.375 kB / 3.397 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/7.715, allocations: 6.688 kB / 3.397 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004445/7.715, allocations: 124.5 kB / 3.397 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.786e-05/7.715, allocations: 15.78 kB / 3.397 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000754/7.716, allocations: 48.72 kB / 3.397 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.487e-05/7.716, allocations: 33.41 kB / 3.397 GB, free: 131.4 MB / 0.6823 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.0004899/7.717, allocations: 274.7 kB / 3.397 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/7.717, allocations: 81.5 kB / 3.397 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007606/7.718, allocations: 491.5 kB / 3.398 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/7.718, allocations: 5.531 kB / 3.398 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/7.718, allocations: 3 kB / 3.398 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005486/7.718, allocations: 0.6815 MB / 3.398 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/7.721, allocations: 1.614 MB / 3.4 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/7.721, allocations: 3.938 kB / 3.4 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004144/7.721, allocations: 102 kB / 3.4 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/7.721, allocations: 7.516 kB / 3.4 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/7.721, allocations: 14.09 kB / 3.4 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.508e-06/7.721, allocations: 17.39 kB / 3.4 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/7.721, allocations: 3.938 kB / 3.4 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009146/7.722, allocations: 0.8801 MB / 3.401 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003088/7.722, allocations: 210.1 kB / 3.401 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.928e-05/7.722, allocations: 15.91 kB / 3.401 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004832/7.723, allocations: 44.05 kB / 3.401 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/7.723, allocations: 37.98 kB / 3.401 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/7.723, allocations: 25.66 kB / 3.401 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005387/7.724, allocations: 0.4987 MB / 3.402 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/7.724, allocations: 0 / 3.402 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001297/7.725, allocations: 367.5 kB / 3.402 GB, free: 129.5 MB / 0.6823 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.002218/7.727, allocations: 1.673 MB / 3.404 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008251/7.728, allocations: 455.7 kB / 3.404 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/7.728, allocations: 0 / 3.404 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002434/7.728, allocations: 205.3 kB / 3.404 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002386/7.731, allocations: 458.4 kB / 3.405 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/7.733, allocations: 2.049 MB / 3.407 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/7.734, allocations: 1.027 MB / 3.408 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007264/7.734, allocations: 196.2 kB / 3.408 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/7.735, allocations: 67.41 kB / 3.408 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.032e-06/7.735, allocations: 0 / 3.408 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of Templates: time 0.04827/7.783, allocations: 34.25 MB / 3.441 GB, free: 104.4 MB / 0.6823 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)