Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001175/0.001175, allocations: 116.1 kB / 16.37 MB, free: 6.012 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.001165/0.001165, allocations: 194.3 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002354/0.002354, allocations: 284.1 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9618/0.9618, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003341/0.003342, allocations: 106 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1715, allocations: 86.97 MB / 0.6816 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.4573/0.6288, allocations: 190.6 MB / 0.8677 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.009114/0.6379, allocations: 5.736 MB / 0.8733 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/0.6392, allocations: 35.81 kB / 0.8733 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00174/0.641, allocations: 0.5902 MB / 0.8739 GB, free: 9.449 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004946/0.646, allocations: 1.835 MB / 0.8757 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003122/0.6491, allocations: 1.186 MB / 0.8769 GB, free: 6.426 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004416/0.6535, allocations: 2.958 MB / 0.8797 GB, free: 3.461 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001636/0.6552, allocations: 0.9553 MB / 0.8807 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002121/0.6573, allocations: 1.051 MB / 0.8817 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002515/0.6598, allocations: 0.9097 MB / 0.8826 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003244/0.6602, allocations: 108 kB / 0.8827 GB, free: 440 kB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003214/0.6634, allocations: 1.43 MB / 0.8841 GB, free: 15 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005867/0.664, allocations: 462.8 kB / 0.8845 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001246/0.6653, allocations: 0.6534 MB / 0.8852 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003058/0.6683, allocations: 2.138 MB / 0.8873 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6683, allocations: 4 kB / 0.8873 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.472e-06/0.6684, allocations: 0 / 0.8873 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.838e-05/0.6684, allocations: 0 / 0.8873 GB, free: 11.74 MB / 0.6544 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.002658/0.6711, allocations: 1.508 MB / 0.8887 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.6711, allocations: 15.97 kB / 0.8888 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/0.6732, allocations: 310.3 kB / 0.889 GB, free: 9.859 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/0.6748, allocations: 0.8591 MB / 0.8899 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.143e-05/0.6749, allocations: 66 kB / 0.89 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.675, allocations: 88 kB / 0.89 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.6766, allocations: 0.9091 MB / 0.8909 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.6767, allocations: 0 / 0.8909 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/0.6768, allocations: 39.98 kB / 0.891 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.702e-05/0.6768, allocations: 30 kB / 0.891 GB, free: 7.82 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/0.6783, allocations: 0.8276 MB / 0.8918 GB, free: 6.992 MB / 0.6544 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.005369/0.6837, allocations: 3.501 MB / 0.8952 GB, free: 3.27 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007462/0.6844, allocations: 0.5013 MB / 0.8957 GB, free: 2.762 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004335/0.6849, allocations: 298 kB / 0.896 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000198/0.6851, allocations: 101.5 kB / 0.8961 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.6851, allocations: 43 kB / 0.8961 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=47): time 2.204e-06/0.6852, allocations: 0 / 0.8961 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.003767/0.6889, allocations: 1.915 MB / 0.898 GB, free: 300 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.689, allocations: 59.84 kB / 0.8981 GB, free: 228 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009583/0.6899, allocations: 0.8058 MB / 0.8988 GB, free: 15.41 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.748e-05/0.69, allocations: 37.7 kB / 0.8989 GB, free: 15.36 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003087/0.6903, allocations: 483.2 kB / 0.8993 GB, free: 14.88 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.6905, allocations: 173.5 kB / 0.8995 GB, free: 14.71 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.6907, allocations: 118.2 kB / 0.8996 GB, free: 14.59 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.962e-05/0.6908, allocations: 325.9 kB / 0.8999 GB, free: 14.27 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000414/0.6912, allocations: 253.1 kB / 0.9002 GB, free: 14.02 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004841/0.6917, allocations: 357.2 kB / 0.9005 GB, free: 13.63 MB / 0.67 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.003576/0.6953, allocations: 1.53 MB / 0.902 GB, free: 12.05 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6953, allocations: 0 / 0.902 GB, free: 12.05 MB / 0.67 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001271/0.6966, allocations: 0.7848 MB / 0.9028 GB, free: 11.25 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.6966, allocations: 7.984 kB / 0.9028 GB, free: 11.25 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.6966, allocations: 4 kB / 0.9028 GB, free: 11.24 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002898/0.6969, allocations: 93.66 kB / 0.9029 GB, free: 11.14 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006526/0.6976, allocations: 143.8 kB / 0.903 GB, free: 11 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002767/0.7003, allocations: 3.293 MB / 0.9062 GB, free: 7.43 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007788/0.7011, allocations: 27.98 kB / 0.9063 GB, free: 7.402 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/0.7012, allocations: 23.94 kB / 0.9063 GB, free: 7.379 MB / 0.67 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.0004387/0.7017, allocations: 301.6 kB / 0.9066 GB, free: 7.074 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.7018, allocations: 94.88 kB / 0.9067 GB, free: 6.98 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.702, allocations: 100.8 kB / 0.9067 GB, free: 6.879 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.702, allocations: 8 kB / 0.9068 GB, free: 6.871 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.702, allocations: 0 / 0.9068 GB, free: 6.871 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001018/0.703, allocations: 0.8427 MB / 0.9076 GB, free: 5.938 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002737/0.7058, allocations: 1.794 MB / 0.9093 GB, free: 4.043 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.7058, allocations: 4 kB / 0.9093 GB, free: 4.039 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005988/0.7064, allocations: 127.8 kB / 0.9095 GB, free: 3.914 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002291/0.7066, allocations: 73.17 kB / 0.9095 GB, free: 3.84 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.538e-05/0.7067, allocations: 12 kB / 0.9095 GB, free: 3.828 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/0.7082, allocations: 1.787 MB / 0.9113 GB, free: 1.902 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.7082, allocations: 4 kB / 0.9113 GB, free: 1.898 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.7097, allocations: 1.065 MB / 0.9123 GB, free: 0.7773 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000437/0.7102, allocations: 243.9 kB / 0.9126 GB, free: 0.5195 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.7103, allocations: 19.98 kB / 0.9126 GB, free: 0.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006777/0.711, allocations: 25.41 kB / 0.9126 GB, free: 488 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.7111, allocations: 43.95 kB / 0.9126 GB, free: 444 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.719e-05/0.7112, allocations: 31.98 kB / 0.9127 GB, free: 412 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006812/0.7119, allocations: 0.5614 MB / 0.9132 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7119, allocations: 0 / 0.9132 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008197/0.7127, allocations: 280 kB / 0.9135 GB, free: 15.57 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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.0003899/0.7131, allocations: 203.4 kB / 0.9137 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001271/0.7144, allocations: 0.7967 MB / 0.9145 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.7144, allocations: 0 / 0.9145 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005677/0.715, allocations: 416.8 kB / 0.9149 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002387/0.7174, allocations: 0.6116 MB / 0.9155 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.7201, allocations: 1.804 MB / 0.9172 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006272/0.7207, allocations: 1.087 MB / 0.9183 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006798/0.7214, allocations: 215.6 kB / 0.9185 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.7216, allocations: 71.42 kB / 0.9186 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of SimCode: time 1.012e-06/0.7217, allocations: 0 / 0.9186 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of Templates: time 0.03145/0.7531, allocations: 20.59 MB / 0.9387 GB, free: 6 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)