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.584/1.584, allocations: 289.9 MB / 297.4 MB, free: 6.383 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.001154/0.001154, allocations: 184.8 kB / 366.7 MB, free: 1.629 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.655/1.655, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.0009173/0.0009172, allocations: 84.25 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.898e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6971/0.6971, allocations: 116.3 MB / 0.9733 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.293/5.991, allocations: 2.085 GB / 3.059 GB, free: 279.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/5.991, allocations: 90.91 kB / 3.059 GB, free: 279.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.617/7.608, allocations: 0.5812 GB / 3.64 GB, free: 141.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.643e-06/7.608, allocations: 0 / 3.64 GB, free: 141.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.365e-05/7.608, allocations: 23.98 kB / 3.64 GB, free: 141.7 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.002014/7.61, allocations: 1.127 MB / 3.641 GB, free: 140.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/7.61, allocations: 8.031 kB / 3.641 GB, free: 140.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/7.611, allocations: 209.4 kB / 3.641 GB, free: 140.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008945/7.612, allocations: 0.6612 MB / 3.642 GB, free: 139.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/7.612, allocations: 28 kB / 3.642 GB, free: 139.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-05/7.612, allocations: 44 kB / 3.642 GB, free: 139.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006974/7.613, allocations: 0.5076 MB / 3.643 GB, free: 139.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000894/7.614, allocations: 0.7848 MB / 3.643 GB, free: 138.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/7.614, allocations: 3.938 kB / 3.643 GB, free: 138.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.343e-05/7.614, allocations: 4 kB / 3.643 GB, free: 138.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.2e-05/7.614, allocations: 25.31 kB / 3.643 GB, free: 138.2 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.002774/7.617, allocations: 4.385 MB / 3.648 GB, free: 133.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004253/7.617, allocations: 408 kB / 3.648 GB, free: 133.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/7.618, allocations: 213.8 kB / 3.648 GB, free: 132.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001636/7.618, allocations: 114 kB / 3.648 GB, free: 132.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/7.618, allocations: 38.55 kB / 3.648 GB, free: 132.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 1.904e-06/7.618, allocations: 0 / 3.648 GB, free: 132.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=45): time 0.001896/7.62, allocations: 1.304 MB / 3.65 GB, free: 131.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/7.62, allocations: 114.7 kB / 3.65 GB, free: 131.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003825/7.62, allocations: 438.2 kB / 3.65 GB, free: 130.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.446e-05/7.62, allocations: 25.7 kB / 3.65 GB, free: 130.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/7.62, allocations: 419.1 kB / 3.651 GB, free: 130.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.726e-05/7.62, allocations: 165.7 kB / 3.651 GB, free: 130.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-05/7.62, allocations: 4.062 kB / 3.651 GB, free: 130.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.595e-05/7.621, allocations: 370.8 kB / 3.651 GB, free: 129.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/7.621, allocations: 157.5 kB / 3.651 GB, free: 129.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/7.621, allocations: 399.9 kB / 3.652 GB, free: 129.1 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.001329/7.622, allocations: 0.6434 MB / 3.652 GB, free: 128.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/7.622, allocations: 0 / 3.652 GB, free: 128.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006681/7.623, allocations: 0.5783 MB / 3.653 GB, free: 127.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/7.623, allocations: 16.11 kB / 3.653 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/7.623, allocations: 4 kB / 3.653 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/7.623, allocations: 12 kB / 3.653 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004152/7.624, allocations: 119.8 kB / 3.653 GB, free: 127.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/7.624, allocations: 16.38 kB / 3.653 GB, free: 127.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005129/7.624, allocations: 39.86 kB / 3.653 GB, free: 127.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.343e-05/7.624, allocations: 35.98 kB / 3.653 GB, free: 127.6 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.0001193/7.624, allocations: 120.8 kB / 3.653 GB, free: 127.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/7.624, allocations: 71.09 kB / 3.653 GB, free: 127.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/7.625, allocations: 66.19 kB / 3.653 GB, free: 127.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/7.625, allocations: 8 kB / 3.653 GB, free: 127.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/7.625, allocations: 0 / 3.653 GB, free: 127.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004658/7.625, allocations: 0.6637 MB / 3.654 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/7.627, allocations: 1.462 MB / 3.655 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/7.627, allocations: 4 kB / 3.655 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004142/7.627, allocations: 104.3 kB / 3.655 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/7.627, allocations: 4 kB / 3.655 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/7.628, allocations: 12 kB / 3.655 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/7.628, allocations: 7.984 kB / 3.655 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/7.628, allocations: 4 kB / 3.655 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008631/7.628, allocations: 0.9955 MB / 3.656 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001999/7.629, allocations: 184.4 kB / 3.657 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.324e-05/7.629, allocations: 12.11 kB / 3.657 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004214/7.629, allocations: 35.83 kB / 3.657 GB, free: 123.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/7.629, allocations: 35.91 kB / 3.657 GB, free: 123.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/7.629, allocations: 24 kB / 3.657 GB, free: 123.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000287/7.63, allocations: 322.9 kB / 3.657 GB, free: 123.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.51e-07/7.63, allocations: 4 kB / 3.657 GB, free: 123.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001045/7.631, allocations: 292 kB / 3.657 GB, free: 122.9 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.001921/7.633, allocations: 1.868 MB / 3.659 GB, free: 120.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005719/7.633, allocations: 420.6 kB / 3.66 GB, free: 120.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/7.633, allocations: 7.938 kB / 3.66 GB, free: 120.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001905/7.633, allocations: 184.3 kB / 3.66 GB, free: 120.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/7.635, allocations: 308.7 kB / 3.66 GB, free: 120 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/7.636, allocations: 1.243 MB / 3.661 GB, free: 118.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/7.637, allocations: 1.054 MB / 3.662 GB, free: 117.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004968/7.637, allocations: 165.2 kB / 3.662 GB, free: 117.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/7.637, allocations: 55.42 kB / 3.662 GB, free: 117.4 MB / 0.948 GB Notification: Performance of SimCode: time 2.41e-07/7.637, allocations: 0 / 3.662 GB, free: 117.4 MB / 0.948 GB Notification: Performance of Templates: time 0.02443/7.662, allocations: 19.64 MB / 3.682 GB, free: 97.86 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)