Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.786/1.786, allocations: 288.4 MB / 303.7 MB, free: 8.016 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.001141/0.001141, allocations: 188.5 kB / 372.3 MB, free: 10.11 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.528/1.528, allocations: 205.4 MB / 0.631 GB, free: 9.887 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007191/0.0007192, allocations: 94.3 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003523, allocations: 20.22 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1938, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6417/0.8356, allocations: 173.3 MB / 1.149 GB, free: 11.05 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008204/0.8438, allocations: 5.341 MB / 1.155 GB, free: 7.824 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.845, allocations: 28.31 kB / 1.155 GB, free: 7.812 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001351/0.8463, allocations: 462.3 kB / 1.155 GB, free: 7.449 MB / 0.698 GB [/home/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. [/home/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. [/home/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. [/home/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.004456/0.8508, allocations: 1.581 MB / 1.157 GB, free: 6.242 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002911/0.8537, allocations: 0.9094 MB / 1.157 GB, free: 5.605 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004421/0.8582, allocations: 3.428 MB / 1.161 GB, free: 3.605 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001471/0.8597, allocations: 0.9268 MB / 1.162 GB, free: 3.074 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001871/0.8615, allocations: 0.8747 MB / 1.163 GB, free: 2.621 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001745/0.8633, allocations: 0.8992 MB / 1.163 GB, free: 2.141 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.8635, allocations: 47.31 kB / 1.163 GB, free: 2.141 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003678/0.8672, allocations: 1.607 MB / 1.165 GB, free: 1.254 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006891/0.8679, allocations: 496.8 kB / 1.166 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001027/0.8689, allocations: 0.6246 MB / 1.166 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002299/0.8712, allocations: 1.723 MB / 1.168 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.8712, allocations: 0 / 1.168 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8713, allocations: 0 / 1.168 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.965e-05/0.8713, allocations: 1.062 kB / 1.168 GB, free: 15.46 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002455/0.8737, allocations: 1.36 MB / 1.169 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.8738, allocations: 13.28 kB / 1.169 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001894/0.8757, allocations: 319 kB / 1.169 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.8772, allocations: 0.8582 MB / 1.17 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.757e-05/0.8773, allocations: 77.86 kB / 1.17 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.8775, allocations: 101.9 kB / 1.17 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/0.8794, allocations: 1.096 MB / 1.172 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.8794, allocations: 5.25 kB / 1.172 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.67e-05/0.8795, allocations: 38.41 kB / 1.172 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-05/0.8796, allocations: 44.86 kB / 1.172 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001626/0.8812, allocations: 0.9874 MB / 1.173 GB, free: 12.42 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.005778/0.887, allocations: 4.245 MB / 1.177 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008178/0.8879, allocations: 0.6019 MB / 1.177 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004628/0.8883, allocations: 343.3 kB / 1.178 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001793/0.8885, allocations: 111.9 kB / 1.178 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.8886, allocations: 45.16 kB / 1.178 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=53): time 2.535e-06/0.8886, allocations: 4 kB / 1.178 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of matching and sorting (n=55): time 0.003804/0.8924, allocations: 2.214 MB / 1.18 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.8924, allocations: 65.25 kB / 1.18 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009565/0.8934, allocations: 0.8638 MB / 1.181 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.047e-05/0.8935, allocations: 36.52 kB / 1.181 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.8938, allocations: 0.5119 MB / 1.181 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000162/0.894, allocations: 197.8 kB / 1.182 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/0.894, allocations: 22.84 kB / 1.182 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.8941, allocations: 329.5 kB / 1.182 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004428/0.8946, allocations: 291.9 kB / 1.182 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005416/0.8951, allocations: 450.4 kB / 1.183 GB, free: 4.879 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.003515/0.8986, allocations: 1.756 MB / 1.184 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.8986, allocations: 0 / 1.184 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001423/0.9001, allocations: 0.9299 MB / 1.185 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.9001, allocations: 5.344 kB / 1.185 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.9001, allocations: 5.5 kB / 1.185 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001909/0.9003, allocations: 96.86 kB / 1.185 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006746/0.901, allocations: 181.9 kB / 1.186 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003104/0.9041, allocations: 4.277 MB / 1.19 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.9052, allocations: 75.92 kB / 1.19 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-05/0.9053, allocations: 25.72 kB / 1.19 GB, free: 14.98 MB / 0.7292 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.0006079/0.9059, allocations: 352.9 kB / 1.19 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.9061, allocations: 99.12 kB / 1.19 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.9062, allocations: 111.5 kB / 1.19 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.9062, allocations: 5.062 kB / 1.19 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.9063, allocations: 0 / 1.19 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009977/0.9073, allocations: 0.7735 MB / 1.191 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002977/0.9102, allocations: 1.988 MB / 1.193 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.9103, allocations: 5.094 kB / 1.193 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006438/0.9109, allocations: 162.3 kB / 1.193 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001023/0.911, allocations: 42.52 kB / 1.193 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.035e-05/0.9111, allocations: 24.16 kB / 1.193 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001238/0.9123, allocations: 1.485 MB / 1.195 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.9123, allocations: 2.938 kB / 1.195 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.9141, allocations: 1.241 MB / 1.196 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005142/0.9146, allocations: 254.8 kB / 1.196 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.9148, allocations: 21.72 kB / 1.196 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007486/0.9155, allocations: 75.72 kB / 1.196 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.9156, allocations: 45.77 kB / 1.196 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-05/0.9157, allocations: 29.77 kB / 1.196 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007567/0.9165, allocations: 0.604 MB / 1.197 GB, free: 9.766 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9165, allocations: 4 kB / 1.197 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009456/0.9174, allocations: 303 kB / 1.197 GB, free: 9.738 MB / 0.7292 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.0004428/0.9179, allocations: 201.1 kB / 1.197 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001469/0.9194, allocations: 1.01 MB / 1.198 GB, free: 8.93 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.9194, allocations: 0 / 1.198 GB, free: 8.93 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006017/0.92, allocations: 448.3 kB / 1.199 GB, free: 8.664 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002952/0.923, allocations: 0.6242 MB / 1.199 GB, free: 8.359 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/0.9262, allocations: 2.482 MB / 1.202 GB, free: 5.953 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008004/0.927, allocations: 1.17 MB / 1.203 GB, free: 4.754 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0009141/0.928, allocations: 248.4 kB / 1.203 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/0.9282, allocations: 75.42 kB / 1.203 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of SimCode: time 3.81e-07/0.9282, allocations: 7.938 kB / 1.203 GB, free: 4.426 MB / 0.7292 GB Notification: Performance of Templates: time 0.0345/0.9627, allocations: 20.96 MB / 1.224 GB, free: 15.7 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)