Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.207/2.207, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001322/0.001322, allocations: 182 kB / 325.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.606/2.606, allocations: 205.4 MB / 0.5767 GB, free: 21.09 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009505/0.0009507, allocations: 94.61 kB / 0.6813 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000648/0.0006482, allocations: 17 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2259, allocations: 106.3 MB / 0.899 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.9574/1.183, allocations: 173.6 MB / 1.069 GB, free: 4.316 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0126/1.196, allocations: 5.469 MB / 1.074 GB, free: 4.203 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001856/1.198, allocations: 30.47 kB / 1.074 GB, free: 4.203 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002864/1.201, allocations: 413.9 kB / 1.074 GB, free: 4.191 MB / 0.698 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.00647/1.207, allocations: 1.42 MB / 1.076 GB, free: 4.121 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00466/1.212, allocations: 0.8705 MB / 1.077 GB, free: 4.098 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.007809/1.22, allocations: 3.682 MB / 1.08 GB, free: 4.09 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002732/1.223, allocations: 0.8886 MB / 1.081 GB, free: 3.98 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005147/1.228, allocations: 0.9489 MB / 1.082 GB, free: 3.98 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004158/1.232, allocations: 0.9415 MB / 1.083 GB, free: 3.977 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0006851/1.233, allocations: 47.53 kB / 1.083 GB, free: 3.977 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004931/1.238, allocations: 0.7064 MB / 1.084 GB, free: 3.965 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001512/1.239, allocations: 0.5129 MB / 1.084 GB, free: 3.965 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001503/1.241, allocations: 299.9 kB / 1.084 GB, free: 19.93 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004351/1.245, allocations: 1.694 MB / 1.086 GB, free: 19.81 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/1.245, allocations: 0 / 1.086 GB, free: 19.81 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.805e-06/1.245, allocations: 0 / 1.086 GB, free: 19.81 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.322e-05/1.245, allocations: 1.344 kB / 1.086 GB, free: 19.81 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.004457/1.25, allocations: 1.399 MB / 1.087 GB, free: 19.01 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/1.25, allocations: 14.06 kB / 1.087 GB, free: 19.01 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003353/1.253, allocations: 334.6 kB / 1.088 GB, free: 18.93 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002635/1.256, allocations: 0.8488 MB / 1.089 GB, free: 18.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.996e-05/1.256, allocations: 80.28 kB / 1.089 GB, free: 18.62 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002656/1.256, allocations: 99.72 kB / 1.089 GB, free: 18.62 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003589/1.26, allocations: 1.106 MB / 1.09 GB, free: 18.54 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.819e-05/1.26, allocations: 5.031 kB / 1.09 GB, free: 18.54 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002062/1.26, allocations: 45.45 kB / 1.09 GB, free: 18.54 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.259e-05/1.26, allocations: 42.86 kB / 1.09 GB, free: 18.53 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003135/1.264, allocations: 1.003 MB / 1.091 GB, free: 18.51 MB / 0.7136 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.01094/1.275, allocations: 4.295 MB / 1.095 GB, free: 16.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/1.276, allocations: 0.5812 MB / 1.096 GB, free: 16.7 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008161/1.277, allocations: 346.2 kB / 1.096 GB, free: 16.69 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002803/1.277, allocations: 103.9 kB / 1.096 GB, free: 16.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/1.277, allocations: 45.56 kB / 1.096 GB, free: 16.56 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=53): time 4.368e-06/1.277, allocations: 3.984 kB / 1.096 GB, free: 16.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=55): time 0.00674/1.284, allocations: 2.215 MB / 1.098 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/1.284, allocations: 57.41 kB / 1.098 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/1.286, allocations: 0.8954 MB / 1.099 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002463/1.286, allocations: 42.61 kB / 1.099 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004566/1.287, allocations: 0.5184 MB / 1.1 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002687/1.287, allocations: 197.6 kB / 1.1 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.482e-05/1.287, allocations: 14.94 kB / 1.1 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001665/1.287, allocations: 340.7 kB / 1.1 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007736/1.288, allocations: 276.9 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008725/1.289, allocations: 452.7 kB / 1.101 GB, free: 14.64 MB / 0.7136 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.004575/1.293, allocations: 1.04 MB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/1.293, allocations: 3.062 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002496/1.296, allocations: 0.9193 MB / 1.103 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/1.296, allocations: 8.438 kB / 1.103 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/1.296, allocations: 10.14 kB / 1.103 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003077/1.296, allocations: 99.34 kB / 1.103 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/1.298, allocations: 177.7 kB / 1.103 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004837/1.303, allocations: 4.283 MB / 1.107 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/1.305, allocations: 78.41 kB / 1.107 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/1.305, allocations: 26 kB / 1.107 GB, free: 10.57 MB / 0.7136 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: 19 * 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.0009309/1.306, allocations: 350.6 kB / 1.108 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002937/1.306, allocations: 105.8 kB / 1.108 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/1.306, allocations: 114.5 kB / 1.108 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/1.306, allocations: 5.094 kB / 1.108 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/1.306, allocations: 2.938 kB / 1.108 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001731/1.308, allocations: 0.7688 MB / 1.109 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005239/1.313, allocations: 2.009 MB / 1.111 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.357e-06/1.313, allocations: 7.531 kB / 1.111 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/1.315, allocations: 162 kB / 1.111 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001983/1.315, allocations: 50.64 kB / 1.111 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-05/1.315, allocations: 13.41 kB / 1.111 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/1.317, allocations: 1.481 MB / 1.112 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/1.317, allocations: 2.969 kB / 1.112 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003014/1.32, allocations: 1.24 MB / 1.114 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/1.321, allocations: 275 kB / 1.114 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003967/1.321, allocations: 10.72 kB / 1.114 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002062/1.324, allocations: 85.22 kB / 1.114 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/1.324, allocations: 49.56 kB / 1.114 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/1.324, allocations: 32.12 kB / 1.114 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001298/1.325, allocations: 0.6199 MB / 1.115 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.202e-06/1.325, allocations: 1.75 kB / 1.115 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002958/1.328, allocations: 315.9 kB / 1.115 GB, free: 7.793 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * 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 (53): * Single equations (assignments): 52 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008334/1.329, allocations: 203.1 kB / 1.115 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004008/1.333, allocations: 0.9953 MB / 1.116 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.666e-05/1.333, allocations: 0 / 1.116 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001867/1.335, allocations: 452.5 kB / 1.117 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008473/1.344, allocations: 0.6302 MB / 1.117 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006058/1.35, allocations: 2.547 MB / 1.12 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/1.351, allocations: 1.176 MB / 1.121 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002025/1.353, allocations: 252.4 kB / 1.121 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005547/1.354, allocations: 82.58 kB / 1.121 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of SimCode: time 2.435e-06/1.354, allocations: 0 / 1.121 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of Templates: time 0.05934/1.413, allocations: 21.23 MB / 1.142 GB, free: 11.62 MB / 0.7292 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)