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.7598/0.7598, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 181.6 kB / 187.3 MB, free: 11.89 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.472/1.472, allocations: 221.3 MB / 441.4 MB, free: 4.582 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.0009874/0.0009876, allocations: 97.44 kB / 0.5124 GB, free: 24.19 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002121/0.002121, allocations: 274.3 kB / 0.5939 GB, free: 7.945 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.363e-05/3.365e-05, allocations: 8 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4243, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.389/4.814, allocations: 1.891 GB / 2.655 GB, free: 117.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/4.814, allocations: 93.69 kB / 2.655 GB, free: 117 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.955/6.769, allocations: 0.5953 GB / 3.25 GB, free: 58.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.745e-06/6.769, allocations: 4 kB / 3.25 GB, free: 58.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.331e-05/6.769, allocations: 27.92 kB / 3.25 GB, free: 58.51 MB / 0.698 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.00201/6.771, allocations: 1.131 MB / 3.251 GB, free: 57.33 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/6.771, allocations: 8.031 kB / 3.251 GB, free: 57.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/6.772, allocations: 210.6 kB / 3.252 GB, free: 57.12 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/6.773, allocations: 0.6557 MB / 3.252 GB, free: 56.42 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.195e-05/6.773, allocations: 62 kB / 3.252 GB, free: 56.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/6.773, allocations: 83.95 kB / 3.252 GB, free: 56.28 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/6.774, allocations: 0.8899 MB / 3.253 GB, free: 55.31 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/6.774, allocations: 3.938 kB / 3.253 GB, free: 55.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.297e-05/6.774, allocations: 36 kB / 3.253 GB, free: 55.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.142e-05/6.775, allocations: 33.3 kB / 3.253 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007703/6.775, allocations: 0.5672 MB / 3.254 GB, free: 54.67 MB / 0.698 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.003223/6.779, allocations: 4.562 MB / 3.258 GB, free: 49.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004901/6.779, allocations: 433 kB / 3.259 GB, free: 49.37 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/6.779, allocations: 230 kB / 3.259 GB, free: 49.13 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001735/6.779, allocations: 113.1 kB / 3.259 GB, free: 49 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/6.78, allocations: 42.5 kB / 3.259 GB, free: 48.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=43): time 2.394e-06/6.78, allocations: 0 / 3.259 GB, free: 48.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.002106/6.782, allocations: 1.39 MB / 3.261 GB, free: 47.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/6.782, allocations: 110.8 kB / 3.261 GB, free: 47.37 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005929/6.782, allocations: 0.6132 MB / 3.261 GB, free: 46.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/6.782, allocations: 37.7 kB / 3.261 GB, free: 46.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/6.783, allocations: 419.2 kB / 3.262 GB, free: 46.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.398e-05/6.783, allocations: 165.7 kB / 3.262 GB, free: 46.13 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/6.783, allocations: 12 kB / 3.262 GB, free: 46.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001244/6.783, allocations: 390.8 kB / 3.262 GB, free: 45.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/6.783, allocations: 173.5 kB / 3.262 GB, free: 45.56 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003366/6.783, allocations: 412.9 kB / 3.263 GB, free: 45.05 MB / 0.698 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.001436/6.785, allocations: 0.6493 MB / 3.263 GB, free: 44.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/6.785, allocations: 4 kB / 3.263 GB, free: 44.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007944/6.786, allocations: 0.6483 MB / 3.264 GB, free: 43.72 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/6.786, allocations: 9.25 kB / 3.264 GB, free: 43.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/6.786, allocations: 8 kB / 3.264 GB, free: 43.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/6.786, allocations: 11.98 kB / 3.264 GB, free: 43.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004246/6.786, allocations: 127.8 kB / 3.264 GB, free: 43.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/6.786, allocations: 11.94 kB / 3.264 GB, free: 43.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006242/6.787, allocations: 56.03 kB / 3.264 GB, free: 43.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.566e-05/6.787, allocations: 31.95 kB / 3.264 GB, free: 43.47 MB / 0.698 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.0001269/6.787, allocations: 150.5 kB / 3.264 GB, free: 43.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/6.787, allocations: 79.06 kB / 3.265 GB, free: 43.24 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001901/6.787, allocations: 95.3 kB / 3.265 GB, free: 43.14 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/6.787, allocations: 8 kB / 3.265 GB, free: 43.14 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/6.787, allocations: 0 / 3.265 GB, free: 43.14 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005302/6.788, allocations: 0.6804 MB / 3.265 GB, free: 42.37 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/6.79, allocations: 1.596 MB / 3.267 GB, free: 40.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/6.79, allocations: 32 / 3.267 GB, free: 40.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004051/6.79, allocations: 111.8 kB / 3.267 GB, free: 40.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/6.79, allocations: 8 kB / 3.267 GB, free: 40.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/6.79, allocations: 12 kB / 3.267 GB, free: 40.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/6.79, allocations: 4 kB / 3.267 GB, free: 40.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/6.79, allocations: 8.375 kB / 3.267 GB, free: 40.53 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009329/6.791, allocations: 1.046 MB / 3.268 GB, free: 39.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002701/6.792, allocations: 208.2 kB / 3.268 GB, free: 39.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.805e-05/6.792, allocations: 16 kB / 3.268 GB, free: 39.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004593/6.792, allocations: 51.92 kB / 3.268 GB, free: 39.04 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/6.792, allocations: 43.89 kB / 3.268 GB, free: 38.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/6.792, allocations: 19.98 kB / 3.268 GB, free: 38.97 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004953/6.793, allocations: 0.4913 MB / 3.269 GB, free: 38.48 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/6.793, allocations: 4 kB / 3.269 GB, free: 38.48 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001171/6.794, allocations: 367.9 kB / 3.269 GB, free: 38.12 MB / 0.698 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.001943/6.796, allocations: 1.67 MB / 3.271 GB, free: 36.39 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007143/6.797, allocations: 459.3 kB / 3.271 GB, free: 35.94 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/6.797, allocations: 5.562 kB / 3.271 GB, free: 35.93 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002312/6.797, allocations: 200.4 kB / 3.271 GB, free: 35.74 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/6.799, allocations: 455.9 kB / 3.272 GB, free: 35.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/6.801, allocations: 1.288 MB / 3.273 GB, free: 33.94 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/6.801, allocations: 1.044 MB / 3.274 GB, free: 32.87 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007088/6.802, allocations: 198.9 kB / 3.274 GB, free: 32.67 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/6.802, allocations: 67.42 kB / 3.274 GB, free: 32.61 MB / 0.698 GB Notification: Performance of SimCode: time 2.495e-06/6.802, allocations: 0 / 3.274 GB, free: 32.61 MB / 0.698 GB Notification: Performance of Templates: time 0.4893/7.291, allocations: 38.1 MB / 3.312 GB, free: 128.4 MB / 0.698 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)