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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.672/1.672, allocations: 293 MB / 309 MB, free: 4.812 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.001071/0.001071, allocations: 175.5 kB / 378.7 MB, free: 1.027 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.789/1.789, allocations: 205.4 MB / 0.6383 GB, free: 9.184 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.0008078/0.0008082, allocations: 95.72 kB / 0.7527 GB, free: 62.4 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004597/0.0004598, allocations: 12 kB / 0.8768 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3256, allocations: 116.4 MB / 0.9904 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.791/6.116, allocations: 2.086 GB / 3.077 GB, free: 129.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/6.117, allocations: 92.47 kB / 3.077 GB, free: 129.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.491/8.608, allocations: 0.5871 GB / 3.664 GB, free: 162.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.703e-06/8.608, allocations: 0 / 3.664 GB, free: 162.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001166/8.608, allocations: 26.5 kB / 3.664 GB, free: 162.1 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.004168/8.613, allocations: 1.236 MB / 3.665 GB, free: 161.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/8.613, allocations: 7.844 kB / 3.665 GB, free: 161.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001748/8.614, allocations: 211.4 kB / 3.665 GB, free: 161.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002351/8.617, allocations: 0.6808 MB / 3.666 GB, free: 161.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/8.617, allocations: 66.33 kB / 3.666 GB, free: 161.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003584/8.617, allocations: 81.16 kB / 3.666 GB, free: 161.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/8.619, allocations: 0.9057 MB / 3.667 GB, free: 160.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.255e-05/8.619, allocations: 8.938 kB / 3.667 GB, free: 160.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-05/8.619, allocations: 30.5 kB / 3.667 GB, free: 160.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.281e-05/8.619, allocations: 31.08 kB / 3.667 GB, free: 160.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/8.621, allocations: 0.5855 MB / 3.668 GB, free: 160.9 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.00543/8.626, allocations: 4.568 MB / 3.672 GB, free: 157.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006881/8.627, allocations: 445.9 kB / 3.673 GB, free: 157.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003742/8.627, allocations: 227 kB / 3.673 GB, free: 157.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002322/8.627, allocations: 108.5 kB / 3.673 GB, free: 157.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/8.627, allocations: 40.66 kB / 3.673 GB, free: 157.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 6.262e-06/8.627, allocations: 0 / 3.673 GB, free: 157.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=45): time 0.002926/8.63, allocations: 1.559 MB / 3.675 GB, free: 157 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/8.63, allocations: 119.2 kB / 3.675 GB, free: 156.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008754/8.631, allocations: 0.7019 MB / 3.675 GB, free: 156.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.466e-05/8.631, allocations: 36.98 kB / 3.675 GB, free: 156.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/8.632, allocations: 415.4 kB / 3.676 GB, free: 156.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/8.632, allocations: 161.4 kB / 3.676 GB, free: 156.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/8.632, allocations: 13.69 kB / 3.676 GB, free: 156.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001441/8.632, allocations: 389.3 kB / 3.676 GB, free: 156.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000292/8.632, allocations: 176.8 kB / 3.676 GB, free: 156.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000452/8.633, allocations: 419.8 kB / 3.677 GB, free: 155.9 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.002194/8.635, allocations: 1.158 MB / 3.678 GB, free: 155.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/8.635, allocations: 2.188 kB / 3.678 GB, free: 155.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001036/8.636, allocations: 0.6581 MB / 3.679 GB, free: 155.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/8.636, allocations: 7.75 kB / 3.679 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/8.636, allocations: 9.625 kB / 3.679 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.975e-05/8.636, allocations: 8.625 kB / 3.679 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004828/8.637, allocations: 127.7 kB / 3.679 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.056e-05/8.637, allocations: 13.28 kB / 3.679 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006392/8.637, allocations: 57.12 kB / 3.679 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-05/8.637, allocations: 27.38 kB / 3.679 GB, free: 155.5 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.0004238/8.638, allocations: 278.8 kB / 3.679 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/8.638, allocations: 82.5 kB / 3.679 GB, free: 155.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007639/8.639, allocations: 486.2 kB / 3.68 GB, free: 155.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/8.639, allocations: 5.5 kB / 3.68 GB, free: 155.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/8.639, allocations: 3.875 kB / 3.68 GB, free: 155.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006197/8.639, allocations: 0.6918 MB / 3.68 GB, free: 154.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00247/8.642, allocations: 1.607 MB / 3.682 GB, free: 154.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/8.642, allocations: 4.625 kB / 3.682 GB, free: 154.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004819/8.642, allocations: 101.1 kB / 3.682 GB, free: 154.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.127e-05/8.642, allocations: 8.188 kB / 3.682 GB, free: 154.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/8.642, allocations: 15.84 kB / 3.682 GB, free: 154.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.827e-06/8.642, allocations: 6.188 kB / 3.682 GB, free: 154.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/8.642, allocations: 7.75 kB / 3.682 GB, free: 154.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/8.644, allocations: 0.8745 MB / 3.683 GB, free: 153.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003116/8.644, allocations: 207.9 kB / 3.683 GB, free: 153.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/8.644, allocations: 19.02 kB / 3.683 GB, free: 153.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004755/8.644, allocations: 40.14 kB / 3.683 GB, free: 153.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/8.645, allocations: 37.25 kB / 3.683 GB, free: 153.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.944e-05/8.645, allocations: 20.42 kB / 3.683 GB, free: 153.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006955/8.645, allocations: 0.5052 MB / 3.684 GB, free: 153.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.51e-07/8.645, allocations: 3 kB / 3.684 GB, free: 153.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001545/8.647, allocations: 361.7 kB / 3.684 GB, free: 153.7 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.00253/8.649, allocations: 1.683 MB / 3.686 GB, free: 153.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009673/8.65, allocations: 469.7 kB / 3.686 GB, free: 153.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/8.65, allocations: 0 / 3.686 GB, free: 153.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002925/8.651, allocations: 213.6 kB / 3.686 GB, free: 153.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002546/8.653, allocations: 446.5 kB / 3.687 GB, free: 153.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/8.656, allocations: 2.039 MB / 3.689 GB, free: 152.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005318/8.657, allocations: 1.035 MB / 3.69 GB, free: 151.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008938/8.658, allocations: 196.7 kB / 3.69 GB, free: 151.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002064/8.658, allocations: 64.98 kB / 3.69 GB, free: 151.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.172e-06/8.658, allocations: 0.9062 kB / 3.69 GB, free: 151.5 MB / 0.948 GB Notification: Performance of Templates: time 0.05257/8.711, allocations: 34.22 MB / 3.724 GB, free: 149.4 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)