Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.conf.json 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/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001129, allocations: 107.3 kB / 16.35 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 197.2 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.1 MB / 223.2 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.789/1.789, allocations: 292.3 MB / 0.5496 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002582/0.002582, allocations: 73.53 kB / 0.6729 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2525, allocations: 114.5 MB / 0.7848 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.6681/0.9206, allocations: 187.1 MB / 0.9675 GB, free: 472 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01483/0.9355, allocations: 13.01 MB / 0.9802 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001644/0.9372, allocations: 27.53 kB / 0.9802 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001581/0.9388, allocations: 418.3 kB / 0.9806 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002957/0.9418, allocations: 0.9235 MB / 0.9815 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002327/0.9441, allocations: 0.6996 MB / 0.9822 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002621/0.9468, allocations: 1.484 MB / 0.9836 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.9479, allocations: 0.6631 MB / 0.9843 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004831/0.9527, allocations: 1.716 MB / 0.9859 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.9541, allocations: 0.4979 MB / 0.9864 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.9542, allocations: 52.78 kB / 0.9865 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002029/0.9562, allocations: 0.8769 MB / 0.9873 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002833/0.9565, allocations: 269.3 kB / 0.9876 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004524/0.957, allocations: 395.1 kB / 0.988 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00166/0.9587, allocations: 1.176 MB / 0.9891 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.9587, allocations: 0 / 0.9891 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9587, allocations: 0 / 0.9891 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.9587, allocations: 0 / 0.9891 GB, free: 11.08 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001613/0.9603, allocations: 1.046 MB / 0.9901 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.9604, allocations: 9.688 kB / 0.9901 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009758/0.9614, allocations: 192.4 kB / 0.9903 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000822/0.9622, allocations: 0.5189 MB / 0.9908 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003372/0.9625, allocations: 94.78 kB / 0.9909 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.168e-05/0.9626, allocations: 60.97 kB / 0.991 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.9639, allocations: 0.7888 MB / 0.9918 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.9639, allocations: 5.781 kB / 0.9918 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.381e-05/0.964, allocations: 28.19 kB / 0.9918 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-05/0.964, allocations: 29.11 kB / 0.9918 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009111/0.9649, allocations: 470.8 kB / 0.9923 GB, free: 8.773 MB / 0.7325 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.003936/0.9689, allocations: 4.384 MB / 0.9965 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.969, allocations: 112.5 kB / 0.9967 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.38e-05/0.9691, allocations: 70.16 kB / 0.9967 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001721/0.9693, allocations: 95.75 kB / 0.9968 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.9694, allocations: 41.19 kB / 0.9969 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.853e-06/0.9694, allocations: 0 / 0.9969 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006657/0.97, allocations: 242.5 kB / 0.9971 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.357e-05/0.9701, allocations: 130.8 kB / 0.9972 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.9712, allocations: 0.8504 MB / 0.998 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.9712, allocations: 28.58 kB / 0.9981 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003035/0.9715, allocations: 402.6 kB / 0.9985 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.9716, allocations: 42.92 kB / 0.9985 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.9718, allocations: 91.62 kB / 0.9986 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.9719, allocations: 322.9 kB / 0.9989 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002878/0.9722, allocations: 119.6 kB / 0.999 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004568/0.9727, allocations: 371.2 kB / 0.9994 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005535/0.9732, allocations: 446.3 kB / 0.9998 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.9732, allocations: 2.906 kB / 0.9998 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009278/0.9742, allocations: 0.5062 MB / 1 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.9742, allocations: 10.88 kB / 1 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.9742, allocations: 7.688 kB / 1 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.9742, allocations: 10.12 kB / 1 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/0.9746, allocations: 96.7 kB / 1 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.9746, allocations: 16.5 kB / 1 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006838/0.9753, allocations: 123.9 kB / 1.001 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-05/0.9753, allocations: 32.06 kB / 1.001 GB, free: 1.57 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002465/0.9756, allocations: 228.4 kB / 1.001 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.9757, allocations: 78.25 kB / 1.001 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.9758, allocations: 73.5 kB / 1.001 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.9758, allocations: 2.812 kB / 1.001 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.9759, allocations: 0 / 1.001 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.9759, allocations: 2.438 kB / 1.001 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.9772, allocations: 1.123 MB / 1.002 GB, free: 304 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.9772, allocations: 2.281 kB / 1.002 GB, free: 304 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.153e-05/0.9773, allocations: 19.06 kB / 1.002 GB, free: 300 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.493e-06/0.9773, allocations: 6.078 kB / 1.002 GB, free: 296 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.9773, allocations: 6.906 kB / 1.002 GB, free: 292 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.9773, allocations: 2.781 kB / 1.002 GB, free: 292 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.9773, allocations: 4.344 kB / 1.002 GB, free: 292 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.9776, allocations: 268.8 kB / 1.002 GB, free: 56 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002346/0.9778, allocations: 171.7 kB / 1.002 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.855e-05/0.9779, allocations: 11.61 kB / 1.002 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/0.9783, allocations: 16.42 kB / 1.003 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.9783, allocations: 12.55 kB / 1.003 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.9783, allocations: 9.469 kB / 1.003 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007939/0.9791, allocations: 0.5872 MB / 1.003 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9791, allocations: 0 / 1.003 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006106/0.9797, allocations: 165.1 kB / 1.003 GB, free: 15.52 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004566/0.9802, allocations: 193 kB / 1.003 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006127/0.9808, allocations: 245 kB / 1.004 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.9808, allocations: 0 / 1.004 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.64e-05/0.9809, allocations: 48.27 kB / 1.004 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/0.9825, allocations: 382.5 kB / 1.004 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.9841, allocations: 1.066 MB / 1.005 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005138/0.9847, allocations: 0.9341 MB / 1.006 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004214/0.9851, allocations: 150.2 kB / 1.006 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.693e-05/0.9852, allocations: 44.97 kB / 1.006 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of SimCode: time 1.914e-06/0.9852, allocations: 0 / 1.006 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of Templates: time 0.02343/1.009, allocations: 11.71 MB / 1.018 GB, free: 7.785 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)