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.001176/0.001175, allocations: 102.2 kB / 16.27 MB, free: 5.859 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.001176/0.001176, allocations: 188.7 kB / 17.2 MB, free: 5.508 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.427/1.427, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.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.777/1.777, allocations: 292.3 MB / 0.5495 GB, free: 17.49 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.001466/0.001467, allocations: 67.89 kB / 0.6722 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2424, allocations: 114.6 MB / 0.784 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.6735/0.9159, allocations: 187.1 MB / 0.9667 GB, free: 15.39 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01528/0.9313, allocations: 12.99 MB / 0.9794 GB, free: 2.371 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.9326, allocations: 31.81 kB / 0.9795 GB, free: 2.34 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.9339, allocations: 405.3 kB / 0.9798 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.002287/0.9363, allocations: 0.9175 MB / 0.9807 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001973/0.9382, allocations: 0.6973 MB / 0.9814 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.002093/0.9403, allocations: 1.497 MB / 0.9829 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008857/0.9412, allocations: 0.6518 MB / 0.9835 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003865/0.9451, allocations: 1.712 MB / 0.9852 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001472/0.9466, allocations: 0.4964 MB / 0.9857 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.435e-05/0.9467, allocations: 63.94 kB / 0.9857 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001688/0.9484, allocations: 0.8614 MB / 0.9866 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002681/0.9487, allocations: 283.1 kB / 0.9868 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004264/0.9491, allocations: 386 kB / 0.9872 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001599/0.9507, allocations: 1.149 MB / 0.9883 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.9508, allocations: 4 kB / 0.9883 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9508, allocations: 0 / 0.9883 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.9508, allocations: 0 / 0.9883 GB, free: 9.215 MB / 0.7794 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.001443/0.9522, allocations: 1.054 MB / 0.9894 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.9523, allocations: 8.031 kB / 0.9894 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009451/0.9532, allocations: 190.9 kB / 0.9896 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007265/0.954, allocations: 0.513 MB / 0.9901 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003524/0.9543, allocations: 113.2 kB / 0.9902 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.03e-05/0.9544, allocations: 56 kB / 0.9902 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.9555, allocations: 0.7828 MB / 0.991 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.9556, allocations: 7.938 kB / 0.991 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.584e-05/0.9556, allocations: 27.94 kB / 0.991 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.219e-05/0.9557, allocations: 21 kB / 0.991 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008981/0.9566, allocations: 471.3 kB / 0.9915 GB, free: 5.789 MB / 0.7794 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.003607/0.9602, allocations: 4.402 MB / 0.9958 GB, free: 1.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.9603, allocations: 106.3 kB / 0.9959 GB, free: 1.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.261e-05/0.9604, allocations: 71.59 kB / 0.996 GB, free: 0.9375 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001697/0.9606, allocations: 97.09 kB / 0.9961 GB, free: 0.8242 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.9606, allocations: 42.48 kB / 0.9961 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.864e-06/0.9607, allocations: 0.5625 kB / 0.9961 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0006481/0.9613, allocations: 240.6 kB / 0.9963 GB, free: 0.5312 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.9614, allocations: 132.5 kB / 0.9964 GB, free: 380 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.9624, allocations: 0.841 MB / 0.9973 GB, free: 15.52 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.9625, allocations: 29.7 kB / 0.9973 GB, free: 15.48 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/0.9627, allocations: 402.8 kB / 0.9977 GB, free: 15.09 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.9628, allocations: 45.98 kB / 0.9977 GB, free: 15.04 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.9629, allocations: 89.88 kB / 0.9978 GB, free: 14.95 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.963, allocations: 325.9 kB / 0.9981 GB, free: 14.62 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/0.9633, allocations: 119.2 kB / 0.9982 GB, free: 14.51 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004396/0.9637, allocations: 365.7 kB / 0.9986 GB, free: 14.04 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005493/0.9643, allocations: 449.9 kB / 0.999 GB, free: 13.49 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.9643, allocations: 7.938 kB / 0.999 GB, free: 13.48 MB / 0.795 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009079/0.9652, allocations: 0.5008 MB / 0.9995 GB, free: 12.98 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.9653, allocations: 8 kB / 0.9995 GB, free: 12.97 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.9653, allocations: 8 kB / 0.9995 GB, free: 12.96 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.9653, allocations: 12 kB / 0.9995 GB, free: 12.95 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003193/0.9656, allocations: 95.83 kB / 0.9996 GB, free: 12.86 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.832e-05/0.9657, allocations: 19.92 kB / 0.9996 GB, free: 12.84 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006611/0.9663, allocations: 120.3 kB / 0.9998 GB, free: 12.72 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/0.9664, allocations: 31.92 kB / 0.9998 GB, free: 12.69 MB / 0.795 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.0002235/0.9666, allocations: 225.6 kB / 1 GB, free: 12.46 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.9668, allocations: 75.06 kB / 1 GB, free: 12.38 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.979e-05/0.9669, allocations: 75.22 kB / 1 GB, free: 12.3 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.9669, allocations: 0 / 1 GB, free: 12.3 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.9669, allocations: 4 kB / 1 GB, free: 12.3 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.9669, allocations: 0 / 1 GB, free: 12.3 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.9681, allocations: 1.128 MB / 1.001 GB, free: 11.08 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.9681, allocations: 3.938 kB / 1.001 GB, free: 11.08 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.942e-05/0.9682, allocations: 19.98 kB / 1.001 GB, free: 11.06 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.9682, allocations: 4 kB / 1.001 GB, free: 11.05 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.9682, allocations: 6.062 kB / 1.001 GB, free: 11.05 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.9682, allocations: 4 kB / 1.001 GB, free: 11.05 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.9682, allocations: 7.938 kB / 1.001 GB, free: 11.04 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.9685, allocations: 261.9 kB / 1.002 GB, free: 10.74 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/0.9687, allocations: 176.1 kB / 1.002 GB, free: 10.55 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.621e-05/0.9688, allocations: 8 kB / 1.002 GB, free: 10.54 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003277/0.9691, allocations: 15.98 kB / 1.002 GB, free: 10.52 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.9692, allocations: 11.92 kB / 1.002 GB, free: 10.51 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.9692, allocations: 19.94 kB / 1.002 GB, free: 10.49 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007711/0.97, allocations: 0.581 MB / 1.002 GB, free: 9.918 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.8e-07/0.97, allocations: 0 / 1.002 GB, free: 9.918 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005422/0.9705, allocations: 159.8 kB / 1.002 GB, free: 9.762 MB / 0.795 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.0004018/0.9709, allocations: 198.1 kB / 1.003 GB, free: 9.582 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005179/0.9715, allocations: 245.1 kB / 1.003 GB, free: 9.344 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.9715, allocations: 0 / 1.003 GB, free: 9.344 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.359e-05/0.9715, allocations: 44.8 kB / 1.003 GB, free: 9.301 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.9731, allocations: 384.2 kB / 1.003 GB, free: 8.969 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.9746, allocations: 1.12 MB / 1.004 GB, free: 7.789 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.9751, allocations: 0.9369 MB / 1.005 GB, free: 6.824 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.9752, allocations: 51.44 kB / 1.005 GB, free: 6.773 MB / 0.795 GB Notification: Performance of SimCode: time 1.012e-06/0.9752, allocations: 0 / 1.005 GB, free: 6.773 MB / 0.795 GB Notification: Performance of Templates: time 0.01456/0.9898, allocations: 10.66 MB / 1.016 GB, free: 12.36 MB / 0.8106 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)