Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001319/0.001319, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001742/0.001742, allocations: 191.6 kB / 16.14 MB, free: 6.703 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.5/1.5, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.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.794/1.794, allocations: 292.2 MB / 0.5484 GB, free: 13.58 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.002158/0.002158, allocations: 68.03 kB / 0.6708 GB, free: 26.51 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3142, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.8008/1.115, allocations: 188.3 MB / 0.9666 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01033/1.125, allocations: 5.733 MB / 0.9722 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002271/1.128, allocations: 34.19 kB / 0.9722 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002019/1.13, allocations: 0.5023 MB / 0.9727 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005826/1.136, allocations: 1.732 MB / 0.9744 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003688/1.139, allocations: 1.074 MB / 0.9754 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.007166/1.147, allocations: 4.066 MB / 0.9794 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001788/1.148, allocations: 0.7889 MB / 0.9802 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002473/1.151, allocations: 0.9053 MB / 0.9811 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003047/1.154, allocations: 0.9385 MB / 0.982 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002542/1.154, allocations: 53.16 kB / 0.982 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005618/1.16, allocations: 1.635 MB / 0.9836 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0008052/1.161, allocations: 418.7 kB / 0.984 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001372/1.162, allocations: 0.5905 MB / 0.9846 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004539/1.167, allocations: 2.161 MB / 0.9867 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/1.167, allocations: 0 / 0.9867 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.703e-06/1.167, allocations: 3.938 kB / 0.9867 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.237e-05/1.167, allocations: 0 / 0.9867 GB, free: 4.324 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003084/1.17, allocations: 1.504 MB / 0.9882 GB, free: 19.55 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.291e-05/1.17, allocations: 10.69 kB / 0.9882 GB, free: 19.55 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002055/1.172, allocations: 307.6 kB / 0.9885 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/1.173, allocations: 0.8002 MB / 0.9893 GB, free: 19.16 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.498e-05/1.173, allocations: 68.86 kB / 0.9893 GB, free: 19.15 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/1.173, allocations: 87.19 kB / 0.9894 GB, free: 19.15 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/1.175, allocations: 0.9176 MB / 0.9903 GB, free: 19.09 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/1.175, allocations: 3.375 kB / 0.9903 GB, free: 19.09 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.175e-05/1.175, allocations: 34.34 kB / 0.9903 GB, free: 19.09 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.95e-05/1.175, allocations: 35.05 kB / 0.9904 GB, free: 19.09 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/1.177, allocations: 0.8282 MB / 0.9912 GB, free: 18.82 MB / 0.7481 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.004997/1.182, allocations: 3.508 MB / 0.9946 GB, free: 16.76 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007286/1.183, allocations: 0.5085 MB / 0.9951 GB, free: 16.54 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004118/1.183, allocations: 290 kB / 0.9954 GB, free: 16.44 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002101/1.183, allocations: 102.4 kB / 0.9955 GB, free: 16.34 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/1.183, allocations: 44.28 kB / 0.9955 GB, free: 16.29 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=47): time 3.366e-06/1.183, allocations: 4 kB / 0.9955 GB, free: 16.29 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49): time 0.00397/1.187, allocations: 1.921 MB / 0.9974 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/1.187, allocations: 53.94 kB / 0.9975 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009233/1.188, allocations: 0.7959 MB / 0.9982 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.484e-05/1.188, allocations: 38.45 kB / 0.9983 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/1.189, allocations: 466 kB / 0.9987 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/1.189, allocations: 173.7 kB / 0.9989 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001935/1.189, allocations: 113 kB / 0.999 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.189, allocations: 330.7 kB / 0.9993 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003943/1.19, allocations: 247.7 kB / 0.9995 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004654/1.19, allocations: 364 kB / 0.9999 GB, free: 13.61 MB / 0.7481 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.003714/1.194, allocations: 1.521 MB / 1.001 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/1.194, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00168/1.195, allocations: 0.7883 MB / 1.002 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/1.196, allocations: 5.406 kB / 1.002 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/1.196, allocations: 3.203 kB / 1.002 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003718/1.196, allocations: 93.06 kB / 1.002 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007306/1.197, allocations: 144.1 kB / 1.002 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003763/1.2, allocations: 3.07 MB / 1.005 GB, free: 9.836 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/1.202, allocations: 58.66 kB / 1.005 GB, free: 9.816 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.259e-05/1.202, allocations: 20.3 kB / 1.005 GB, free: 9.812 MB / 0.7481 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: 12 * 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.0007524/1.203, allocations: 300.3 kB / 1.006 GB, free: 9.621 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002246/1.203, allocations: 96.69 kB / 1.006 GB, free: 9.57 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/1.203, allocations: 102.4 kB / 1.006 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.203, allocations: 2.094 kB / 1.006 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/1.203, allocations: 2.625 kB / 1.006 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00124/1.204, allocations: 0.8412 MB / 1.007 GB, free: 8.828 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003149/1.207, allocations: 1.791 MB / 1.009 GB, free: 7.582 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/1.207, allocations: 2.656 kB / 1.009 GB, free: 7.582 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005944/1.208, allocations: 135.2 kB / 1.009 GB, free: 7.551 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000238/1.208, allocations: 76.36 kB / 1.009 GB, free: 7.508 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.843e-05/1.208, allocations: 14 kB / 1.009 GB, free: 7.504 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001574/1.21, allocations: 1.645 MB / 1.01 GB, free: 5.961 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/1.21, allocations: 5.031 kB / 1.01 GB, free: 5.961 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/1.212, allocations: 1.096 MB / 1.011 GB, free: 5.254 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005164/1.212, allocations: 228.6 kB / 1.012 GB, free: 5.062 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/1.212, allocations: 18.48 kB / 1.012 GB, free: 5.051 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000839/1.213, allocations: 61.59 kB / 1.012 GB, free: 5.023 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/1.213, allocations: 52.58 kB / 1.012 GB, free: 4.996 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.216e-05/1.213, allocations: 36.83 kB / 1.012 GB, free: 4.98 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007381/1.214, allocations: 0.5518 MB / 1.012 GB, free: 4.668 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/1.214, allocations: 3.938 kB / 1.012 GB, free: 4.664 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001233/1.215, allocations: 284.7 kB / 1.013 GB, free: 4.645 MB / 0.7481 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.0006283/1.216, allocations: 182.2 kB / 1.013 GB, free: 4.523 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001624/1.218, allocations: 0.8013 MB / 1.014 GB, free: 4.035 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.218, allocations: 0 / 1.014 GB, free: 4.035 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006455/1.218, allocations: 413.8 kB / 1.014 GB, free: 3.789 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002894/1.221, allocations: 0.5824 MB / 1.015 GB, free: 3.512 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003727/1.225, allocations: 2.161 MB / 1.017 GB, free: 2.004 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/1.226, allocations: 1.079 MB / 1.018 GB, free: 1.125 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001129/1.227, allocations: 218.8 kB / 1.018 GB, free: 1.023 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/1.227, allocations: 67.22 kB / 1.018 GB, free: 1.012 MB / 0.7481 GB Notification: Performance of SimCode: time 8.62e-07/1.228, allocations: 0 / 1.018 GB, free: 1.012 MB / 0.7481 GB Notification: Performance of Templates: time 0.03777/1.265, allocations: 19.68 MB / 1.037 GB, free: 3.984 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)