Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008773/0.008773, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001577/0.001577, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.502/1.502, allocations: 205.1 MB / 222.5 MB, free: 4.379 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.701/1.701, allocations: 251.7 MB / 0.5094 GB, free: 2.996 MB / 414.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.001498/0.001498, allocations: 67.89 kB / 0.7258 GB, free: 8.938 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2447, allocations: 104.7 MB / 0.8281 GB, free: 136 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.8026/1.047, allocations: 190.9 MB / 1.014 GB, free: 8.441 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01146/1.059, allocations: 5.83 MB / 1.02 GB, free: 3.688 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002431/1.061, allocations: 34.22 kB / 1.02 GB, free: 3.676 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00221/1.064, allocations: 0.6174 MB / 1.021 GB, free: 3.168 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0063/1.07, allocations: 1.98 MB / 1.023 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003661/1.074, allocations: 1.248 MB / 1.024 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.005142/1.079, allocations: 3.172 MB / 1.027 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001692/1.08, allocations: 1.006 MB / 1.028 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002796/1.083, allocations: 1.187 MB / 1.029 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002719/1.086, allocations: 0.9366 MB / 1.03 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0004787/1.087, allocations: 115.6 kB / 1.03 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004098/1.091, allocations: 1.442 MB / 1.032 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0007814/1.091, allocations: 494.7 kB / 1.032 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001385/1.093, allocations: 0.6845 MB / 1.033 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004362/1.097, allocations: 2.227 MB / 1.035 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/1.097, allocations: 0 / 1.035 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.958e-06/1.097, allocations: 0 / 1.035 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.271e-05/1.097, allocations: 7.938 kB / 1.035 GB, free: 8.801 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: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002692/1.1, allocations: 1.542 MB / 1.036 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/1.1, allocations: 8.031 kB / 1.036 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002012/1.102, allocations: 318.2 kB / 1.037 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/1.104, allocations: 0.8513 MB / 1.038 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.86e-05/1.104, allocations: 70 kB / 1.038 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/1.104, allocations: 95.92 kB / 1.038 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/1.106, allocations: 0.945 MB / 1.039 GB, free: 4.875 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/1.106, allocations: 0 / 1.039 GB, free: 4.875 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/1.106, allocations: 40 kB / 1.039 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-05/1.106, allocations: 33.98 kB / 1.039 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/1.107, allocations: 0.8315 MB / 1.04 GB, free: 3.973 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.005472/1.113, allocations: 3.543 MB / 1.043 GB, free: 212 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007791/1.113, allocations: 489.7 kB / 1.043 GB, free: 15.71 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004483/1.114, allocations: 294 kB / 1.044 GB, free: 15.43 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002032/1.114, allocations: 105.5 kB / 1.044 GB, free: 15.3 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/1.114, allocations: 47 kB / 1.044 GB, free: 15.25 MB / 0.795 GB Notification: Performance of pre-optimization done (n=47): time 3.026e-06/1.114, allocations: 0 / 1.044 GB, free: 15.25 MB / 0.795 GB Notification: Performance of matching and sorting (n=49): time 0.004094/1.118, allocations: 1.915 MB / 1.046 GB, free: 13.24 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/1.118, allocations: 59.78 kB / 1.046 GB, free: 13.17 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/1.119, allocations: 0.8254 MB / 1.047 GB, free: 12.33 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.417e-05/1.119, allocations: 37.7 kB / 1.047 GB, free: 12.29 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003443/1.12, allocations: 479.3 kB / 1.047 GB, free: 11.81 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000185/1.12, allocations: 177.5 kB / 1.047 GB, free: 11.64 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/1.12, allocations: 114.2 kB / 1.047 GB, free: 11.52 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.12, allocations: 334 kB / 1.048 GB, free: 11.18 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003937/1.121, allocations: 233.2 kB / 1.048 GB, free: 10.96 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004792/1.121, allocations: 371.7 kB / 1.048 GB, free: 10.55 MB / 0.795 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.003283/1.124, allocations: 1.467 MB / 1.05 GB, free: 9.027 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/1.125, allocations: 4 kB / 1.05 GB, free: 9.023 MB / 0.795 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001341/1.126, allocations: 0.7766 MB / 1.05 GB, free: 8.234 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/1.126, allocations: 11.94 kB / 1.05 GB, free: 8.223 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/1.126, allocations: 4.406 kB / 1.05 GB, free: 8.219 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003074/1.126, allocations: 101.6 kB / 1.051 GB, free: 8.113 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006333/1.127, allocations: 135.9 kB / 1.051 GB, free: 7.98 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002991/1.13, allocations: 3.299 MB / 1.054 GB, free: 4.398 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000904/1.131, allocations: 28.05 kB / 1.054 GB, free: 4.371 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/1.131, allocations: 27.94 kB / 1.054 GB, free: 4.344 MB / 0.795 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005535/1.131, allocations: 307.3 kB / 1.054 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/1.132, allocations: 102.8 kB / 1.054 GB, free: 3.934 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/1.132, allocations: 104.7 kB / 1.054 GB, free: 3.832 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/1.132, allocations: 4 kB / 1.054 GB, free: 3.828 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/1.132, allocations: 3.984 kB / 1.054 GB, free: 3.824 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001008/1.133, allocations: 0.8349 MB / 1.055 GB, free: 2.902 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002736/1.136, allocations: 1.799 MB / 1.057 GB, free: 1.004 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/1.136, allocations: 4.062 kB / 1.057 GB, free: 1 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005982/1.136, allocations: 135.8 kB / 1.057 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002188/1.136, allocations: 68.75 kB / 1.057 GB, free: 0.7969 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/1.136, allocations: 12 kB / 1.057 GB, free: 0.7852 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001544/1.138, allocations: 1.789 MB / 1.059 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/1.138, allocations: 8.062 kB / 1.059 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/1.14, allocations: 1.089 MB / 1.06 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004206/1.14, allocations: 248 kB / 1.06 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/1.14, allocations: 8 kB / 1.06 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007586/1.141, allocations: 45.14 kB / 1.06 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/1.141, allocations: 47.88 kB / 1.06 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.198e-05/1.141, allocations: 31.98 kB / 1.06 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007141/1.142, allocations: 0.5771 MB / 1.061 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.422e-06/1.142, allocations: 0 / 1.061 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009234/1.143, allocations: 295.8 kB / 1.061 GB, free: 12.45 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[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 (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004744/1.143, allocations: 188.2 kB / 1.061 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001312/1.145, allocations: 0.7968 MB / 1.062 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.145, allocations: 7.938 kB / 1.062 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005378/1.145, allocations: 406.2 kB / 1.063 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002584/1.148, allocations: 0.6136 MB / 1.063 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/1.15, allocations: 1.838 MB / 1.065 GB, free: 8.523 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006287/1.151, allocations: 1.095 MB / 1.066 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000761/1.152, allocations: 215.7 kB / 1.066 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/1.152, allocations: 75.42 kB / 1.066 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of SimCode: time 7.82e-07/1.152, allocations: 3.938 kB / 1.066 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of Templates: time 0.03584/1.188, allocations: 21.48 MB / 1.087 GB, free: 1.957 MB / 0.8262 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)