Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.865/4.865, allocations: 0.5623 GB / 0.5776 GB, free: 3.375 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003549/0.003549, allocations: 353.9 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.937/3.937, allocations: 410.7 MB / 1.113 GB, free: 5.957 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001802/0.001802, allocations: 187.9 kB / 1.226 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005042/0.0005044, allocations: 19.98 kB / 1.349 GB, free: 8.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6892/0.6897, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2057/0.8955, allocations: 171.2 MB / 1.629 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01129/0.9068, allocations: 5.84 MB / 1.634 GB, free: 107.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001365/0.9083, allocations: 35.75 kB / 1.634 GB, free: 107.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002155/0.9104, allocations: 0.5007 MB / 1.635 GB, free: 106.8 MB / 0.8542 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00656/0.9171, allocations: 1.788 MB / 1.636 GB, free: 105 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.004668/0.9217, allocations: 1.168 MB / 1.638 GB, free: 103.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.004806/0.9266, allocations: 3.423 MB / 1.641 GB, free: 100.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001573/0.9282, allocations: 0.7975 MB / 1.642 GB, free: 99.62 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002095/0.9303, allocations: 0.844 MB / 1.643 GB, free: 98.77 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001902/0.9323, allocations: 0.9107 MB / 1.643 GB, free: 97.86 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002449/0.9325, allocations: 44 kB / 1.643 GB, free: 97.81 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002413/0.9349, allocations: 0.5532 MB / 1.644 GB, free: 97.26 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0007273/0.9357, allocations: 494.6 kB / 1.645 GB, free: 96.77 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0005195/0.9363, allocations: 281.1 kB / 1.645 GB, free: 96.49 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002632/0.9389, allocations: 1.559 MB / 1.646 GB, free: 94.93 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.939, allocations: 4 kB / 1.646 GB, free: 94.93 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.514e-06/0.939, allocations: 0 / 1.646 GB, free: 94.93 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.819e-05/0.939, allocations: 0 / 1.646 GB, free: 94.93 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003259/0.9423, allocations: 1.344 MB / 1.648 GB, free: 93.53 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/0.9424, allocations: 11.62 kB / 1.648 GB, free: 93.52 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002926/0.9453, allocations: 330.2 kB / 1.648 GB, free: 93.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002173/0.9475, allocations: 0.8401 MB / 1.649 GB, free: 92.32 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.328e-05/0.9477, allocations: 74 kB / 1.649 GB, free: 92.24 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002039/0.9479, allocations: 99.91 kB / 1.649 GB, free: 92.14 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002789/0.9507, allocations: 1.081 MB / 1.65 GB, free: 91.06 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.424e-05/0.9507, allocations: 0 / 1.65 GB, free: 91.06 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/0.9509, allocations: 48 kB / 1.65 GB, free: 91.01 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.199e-05/0.951, allocations: 41.95 kB / 1.65 GB, free: 90.97 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002561/0.9536, allocations: 0.9954 MB / 1.651 GB, free: 89.97 MB / 0.8542 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.008953/0.9625, allocations: 4.247 MB / 1.655 GB, free: 85.43 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/0.9639, allocations: 0.6091 MB / 1.656 GB, free: 84.81 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000758/0.9647, allocations: 342.5 kB / 1.656 GB, free: 84.48 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002368/0.9649, allocations: 105.5 kB / 1.656 GB, free: 84.36 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.965, allocations: 43 kB / 1.656 GB, free: 84.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=53): time 3.316e-06/0.965, allocations: 0 / 1.656 GB, free: 84.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=55): time 0.006027/0.971, allocations: 2.212 MB / 1.658 GB, free: 81.98 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.9711, allocations: 63.95 kB / 1.658 GB, free: 81.91 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.9725, allocations: 0.8608 MB / 1.659 GB, free: 81.04 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001365/0.9727, allocations: 41.7 kB / 1.659 GB, free: 81 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003812/0.9731, allocations: 0.5107 MB / 1.66 GB, free: 80.48 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/0.9733, allocations: 201.1 kB / 1.66 GB, free: 80.28 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.385e-05/0.9734, allocations: 16 kB / 1.66 GB, free: 80.26 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.574e-05/0.9734, allocations: 333.9 kB / 1.66 GB, free: 79.93 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007606/0.9742, allocations: 293.8 kB / 1.661 GB, free: 79.64 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008935/0.9751, allocations: 450.6 kB / 1.661 GB, free: 79.14 MB / 0.8542 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004926/0.9801, allocations: 1.096 MB / 1.662 GB, free: 78.04 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.9801, allocations: 0 / 1.662 GB, free: 78.04 MB / 0.8542 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002327/0.9824, allocations: 0.9257 MB / 1.663 GB, free: 77.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.9825, allocations: 4.5 kB / 1.663 GB, free: 77.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.9825, allocations: 4 kB / 1.663 GB, free: 77.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003057/0.9828, allocations: 98.52 kB / 1.663 GB, free: 76.98 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.9842, allocations: 175.8 kB / 1.663 GB, free: 76.81 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003766/0.988, allocations: 4.29 MB / 1.668 GB, free: 72.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/0.9898, allocations: 67.81 kB / 1.668 GB, free: 72.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.928e-05/0.9899, allocations: 31.98 kB / 1.668 GB, free: 72.02 MB / 0.8542 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 77 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007395/0.9906, allocations: 342.1 kB / 1.668 GB, free: 71.68 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002334/0.9909, allocations: 94.88 kB / 1.668 GB, free: 71.59 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.9911, allocations: 117 kB / 1.668 GB, free: 71.47 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00157/0.9927, allocations: 0.7691 MB / 1.669 GB, free: 70.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.9927, allocations: 0 / 1.669 GB, free: 70.66 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006486/0.9934, allocations: 255.9 kB / 1.669 GB, free: 70.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/0.9936, allocations: 15.94 kB / 1.669 GB, free: 70.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/0.995, allocations: 60.95 kB / 1.669 GB, free: 70.31 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.9951, allocations: 40.52 kB / 1.669 GB, free: 70.27 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002678/0.9978, allocations: 0.8275 MB / 1.67 GB, free: 69.43 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002633/1, allocations: 1.235 MB / 1.671 GB, free: 68.18 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006723/1.001, allocations: 300.4 kB / 1.672 GB, free: 67.89 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001051/1.002, allocations: 0.5966 MB / 1.672 GB, free: 67.29 MB / 0.8542 GB Notification: Performance of Backend: time 7.81e-07/1.002, allocations: 0 / 1.672 GB, free: 67.29 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00314/1.005, allocations: 1.101 MB / 1.673 GB, free: 66.16 MB / 0.8542 GB Notification: Performance of SimCode: time 0.007541/1.013, allocations: 3.176 MB / 1.676 GB, free: 62.94 MB / 0.8542 GB Notification: Performance of Templates: time 0.05198/1.065, allocations: 22.36 MB / 1.698 GB, free: 41.02 MB / 0.8542 GB